Sign inSign up

easypi/strongswan

By easypi

Updated about 18 hours ago

An Open Source IPsec-based VPN solution for Linux and other UNIX based operating systems

Image
Security
0

65

easypi/strongswan repository overview

strongswan

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!

docker-compose.yml
services:
  strongswan:
    image: easypi/strongswan
    ports:
      - 500:500/udp
      - 4500:4500/udp
    volumes:
      - /lib/modules:/lib/modules
      - /etc/localtime:/etc/localtime
    environment:
      - VPN_DOMAIN=vpn.easypi.duckdns.org
      - VPN_NETWORK=10.20.30.0/24
      - LAN_NETWORK=192.168.0.0/16
      - VPN_P12_PASSWORD=secret
    tmpfs: /run
    privileged: true
    restart: unless-stopped
up and running
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
  • Mac/IOS: client.mobileconfig
  • Android: client.cert.p12

Tag summary

Content type

Image

Digest

sha256:a154440f0

Size

11.6 MB

Last updated

about 18 hours ago

docker pull easypi/strongswan