mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-27 02:25:51 +03:00
[GH-ISSUE #189] Can't connect to VPN server #176
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 @ghost on GitHub (May 11, 2020).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/189
I have just created the docker image of the VPN. I am unable to connect via my laptop or my smartphone.
Server info:
Docker Log:
I have opened both ports on the server firewall using ufw.
Any ideas what it could be?
@cdoer commented on GitHub (May 11, 2020):
try it
/root/l2tp-server/vpn.env is you vpn.env file
@ghost commented on GitHub (May 11, 2020):
That didn't work either. End up with:
@ghost commented on GitHub (May 11, 2020):
When using IPVoid I can see that the ports are open and accessible from outside.
@hwdsl2 commented on GitHub (May 12, 2020):
@TachyonRSA Hello! Please see [1] for the correct way to use this Docker image. If unable to connect, you may enable and check Libreswan logs [2] for errors. If no new logs appear after trying to connect, then it's most likely a firewall or network issue between your VPN client and server. The two ports UDP 500 and UDP 4500 are required for the IPsec VPN.
[1] https://github.com/hwdsl2/docker-ipsec-vpn-server#how-to-use-this-image
[2] https://github.com/hwdsl2/docker-ipsec-vpn-server#enable-libreswan-logs