Skip to content

Instantly share code, notes, and snippets.

@alex1702
Last active September 6, 2017 07:35
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 alex1702/a9991996f978af1163cc7edaf3e2a910 to your computer and use it in GitHub Desktop.
Save alex1702/a9991996f978af1163cc7edaf3e2a910 to your computer and use it in GitHub Desktop.
PeerVPN docker compose Datei.
version: '3'
services:
peervpn:
image: thomasleister/peervpn
network_mode: "host"
cap_add:
- NET_ADMIN
restart: "always"
environment:
NETWORKNAME: servervpnelaon
INTERFACE: "srvvpn0"
PSK: "<psk>"
LOCAL: "0.0.0.0"
PORT: 7000
INITPEERS: "80.77.26.245 7000 5.1.76.243 7000"
IFCONFIG4: "10.128.<sub>.<ip>/16" # 2 für servercow 1 für homeservernetz 3 für mv
ENABLERELAY: "yes"
ENABLEIPV6: "no"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment