No description
Find a file
2015-01-25 23:54:44 +08:00
bin Running and working, then across the Great Wall, we can reach every corner in the world. 2015-01-25 23:54:44 +08:00
etc Running and working, then across the Great Wall, we can reach every corner in the world. 2015-01-25 23:54:44 +08:00
Dockerfile Running and working, then across the Great Wall, we can reach every corner in the world. 2015-01-25 23:54:44 +08:00
LICENSE Add MIT License 2015-01-25 21:13:38 +08:00
README.md Doc update, running and .mobileconfig generation 2015-01-25 22:36:36 +08:00

IKEv2 VPN Server running on Docker

Recipe to build gaomd/ikev2-vpn-server Docker image.

Start the IKEv2 VPN Server

CONTAINER_ID=$(docker run -d --privileged \
    -p 500:500/udp -p 4500:4500/udp \
    gaomd/ikev2-vpn-server)

Generate .mobileconfig file for iOS 8

IKEv2 protocol requires iOS 8 or later, Mac OS X 10.10 (Yosemite) is not supported yet.

# Fill in you actual domain name,
# and make sure it resolves to you server's IP address.
export HOST="vpn1.example.com"

docker run -i -t --rm --volumes-from ${CONTAINER_ID} \
    -e "HOST=${HOST}" gaomd/ikev2-vpn-server \
    generate-mobileconfig > "${HOST}.mobileconfig"

After you've generated the *.mobileconfig file, firstly, transfer it your local computer via SSH tunnel (scp) or any other secure methods.

You may now open this file on your iOS 8 device (via E-mail attachment or AirDrop?, etc).