An Open Source IPsec-based VPN solution implementing both the IKEv1 and IKEv2 key exchange protocols
1.1K
strongSwan is an Open Source IPsec-based VPN solution for Linux and other UNIX based operating systems implementing both the IKEv1 and IKEv2 key exchange protocols.
:warning: This docker image only support IKEv2!
strongswan:
image: vimagick/strongswan
ports:
- 500:500/udp
- 4500:4500/udp
volumes:
- /lib/modules:/lib/modules
- /etc/localtime:/etc/localtime
environment:
- VPN_DOMAIN=vpn.easypi.info
- VPN_SUBNET=10.20.30.0/24
- VPN_P12_PASSWORD=secret
cap_add:
- NET_ADMIN
privileged: yes
restart: always
docker-compose up -d
docker cp strongswan_strongswan_1:/etc/ipsec.d/client.mobileconfig .
docker cp strongswan_strongswan_1:/etc/ipsec.d/client.cert.p12 .
docker-compose logs -f
client.mobileconfigclient.cert.p12Content type
Image
Digest
Size
7.2 MB
Last updated
about 10 years ago
docker pull jim3mar/strongswan