/docker-ikev2-vpn

IKEv2 VPN Server, with .mobileconfig for iOS & macOS.

Primary LanguageShellMIT LicenseMIT

IKEv2 VPN Server on Docker

Configuration

You can skip this step

cp .env.example .env

HOST_NAME is also name of the root certificate

HOST_COUNTRY and HOST_IP are set automatically

Start server

docker-compose up -d

Create client certificate

docker-compose exec ikev2 create-client-cert

Installation on iPhone

  • copy data/profiles/strongswan-cert.pem and data/profiles/[name].mobileconfig to iPhone
  • install strongswan-cert.pem and [name].mobileconfig

Installation on Mac

Download ./data/profiles/[name].mobileconfig and just open on your Mac

Note

IKEv2 and mobileconfig is supported on apple devices at the system level. No need to install additional software.