mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-26 01:55:53 +03:00
[GH-ISSUE #4] Can't connect to VPN Server #4
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 @knowlet on GitHub (Jul 18, 2016).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/4
I run the docker same as the tutorial but it did't work!
My System info:
After
docker logs ipsec-vpn-serverI got this error message:And there seems no
af_keyin Ubuntu 16.04?I can't tab
modprobe af_keyon my server.@hwdsl2 commented on GitHub (Jul 18, 2016):
Hi @knowlet, the output of
docker logs ipsec-vpn-serveris completely normal. Try re-creating the VPN connection on your client device.What error did you see when running
sudo modprobe af_key?@knowlet commented on GitHub (Jul 18, 2016):
I had rebuild the docker several times but my client device can't connect anyway.
There aren't any output after I run
modprobe af_key.Should I use user account with
sudobut not using root to run it?@hwdsl2 commented on GitHub (Jul 18, 2016):
@knowlet It is normal to have no output when running
modprobe af_key.I think your Docker container is running fine. What is your client device (Windows, macOS, iOS, Android, etc.)? And what error did you see? Please follow the steps in [1] to configure your client device.
[1] https://github.com/hwdsl2/setup-ipsec-vpn/blob/master/docs/clients.md
@knowlet commented on GitHub (Jul 19, 2016):
@hwdsl2 I'm using macOS and when trying to connect to VPN Server it keeps telling me that connect no response.
I had tried to nmap my server but I can't find the port that was opened by this image, here are my
iptables -Loutput:netstatoutput:and
nmap -Ooutput:@hwdsl2 commented on GitHub (Jul 19, 2016):
@knowlet Please run command:
docker restart ipsec-vpn-serverThen post the output of:
docker ps | grep ipsec-vpn-serverdocker logs ipsec-vpn-serverdocker exec -it ipsec-vpn-server netstat -anputnetstat -anput@knowlet commented on GitHub (Jul 19, 2016):
After I restart the container and it works!
thx.