mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-26 01:55:53 +03:00
[GH-ISSUE #256] VPN server started without port being listened #237
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @justbeay on GitHub (Sep 5, 2021).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/256
Hi, I try to deploy the vpn server with docker using the command u provided in README.md, the result is container: ipsec-vpn-server was started without any error message with
docker logscommand, but there is no device which can connect it successfully. I Also login the started ecs server and found port 500/4500 was not on listening status at all (BTW, 500/4500 have added to ecs ingress rule)Any helpful ideas would be appreciate, thanks!
server platform: aliyun ecs server with ubuntu18.04 installed
launch command:
container logs output:
check output:
@hwdsl2 commented on GitHub (Sep 5, 2021):
@justbeay Hello! Your logs look normal. The
netstatoutput shows that the VPN is listening on UDP ports 500 and 4500 correctly. Note that for Aliyun servers, you must add UDP ports 500 and 4500 to BOTH "ingress" and "egress" in the firewall. Only "ingress" is not sufficient. For more information, please refer to:https://github.com/hwdsl2/setup-ipsec-vpn/issues/433
https://gist.github.com/huahuayu/afa81064ea2a79e09da3f3840c5436ef
@justbeay commented on GitHub (Sep 5, 2021):
thanks for your quickly response, I can now connect it with any vpn client by set both ingress and egress rules of udp port 500/4500. I set tcp ingress rules before by mistakes also