Skip to content

Instantly share code, notes, and snippets.

@vsguts
Created December 9, 2022 15:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vsguts/75780fe78ce7dd7ef3956cc6ba53e060 to your computer and use it in GitHub Desktop.
Save vsguts/75780fe78ce7dd7ef3956cc6ba53e060 to your computer and use it in GitHub Desktop.
Simple VPN server (ipsec)
version: '3'
services:
vpn:
image: hwdsl2/ipsec-vpn-server
restart: always
environment:
- VPN_IPSEC_PSK=my-shared-secret
- VPN_USER=my-username
- VPN_PASSWORD=my-password
ports:
- "500:500/udp"
- "4500:4500/udp"
privileged: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment