docker-ikev2-vpn-server
docker-ikev2-vpn-server copied to clipboard
I could not connect to it in docker machine on mac
I did like this.
bash-3.2$ docker run -d --name ikev2-vpn-server --privileged -p 500:500/udp -p 4500:4500/udp gaomd/ikev2-vpn-server:0.2.2
0419952b7b55d80712562202421f27141695244f7ac2894969bb7be722904021
bash-3.2$ docker-machine ip default
192.168.99.100
bash-3.2$ docker run -i -t --rm --volumes-from ikev2-vpn-server -e "HOST=192.168.99.100" gaomd/ikev2-vpn-server:0.2.2 generate-mobileconfig > ikev2-vpn.mobileconfig
Then I double-click the mobileconfig file. However, I could not connect via it.
MBP 2014 OS: EI Capitan 10.11.2
Both failed on my vps
I could basically reproduce your situation, but it works perfectly on the VPS (when connecting from the Internet), I guess this problem was related to IP routing on the localhost, when connecting from local machine to local virtual (docker) machine.
I should have investigate more in the future, leave this issues open for more feedbacks.
SquirrelMajik, could you open your ikev2-vpn.mobileconfig in a text editor and check the first few lines for an error message.