Skip to content

Instantly share code, notes, and snippets.

@mik9
Last active November 20, 2018 15:17
Show Gist options
  • Select an option

  • Save mik9/2136f5cad5af3efbdebe3cd3836c9fe5 to your computer and use it in GitHub Desktop.

Select an option

Save mik9/2136f5cad5af3efbdebe3cd3836c9fe5 to your computer and use it in GitHub Desktop.
Simple vpn config.
version: "2"
services:
vpn:
image: siomiz/softethervpn
ports:
- "1194:1194/udp"
- "1701:1701"
- "1701:1701/udp"
- "4500:4500/udp"
- "500:500/udp"
- "5555:5555"
restart: always
environment:
- PSK=shared_key
- USERS=user1:password1;user2:password2
cap_add:
- NET_ADMIN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment