Skip to content
Snippets Groups Projects
Commit e4ecf3ba authored by Hoai Viet Nguyen's avatar Hoai Viet Nguyen
Browse files

add VPVN

parent 3fd4fc18
No related branches found
No related tags found
1 merge request!1Vpn
......@@ -193,3 +193,4 @@ $RECYCLE.BIN/
*.lnk
# End of https://www.toptal.com/developers/gitignore/api/macos,visualstudiocode,intellij,windows
vpn/config
\ No newline at end of file
......@@ -9,3 +9,4 @@ include:
- nginx/nginx.docker-compose.yml
- apache/apache.docker-compose.yml
- httpforwardproxy/httpforwardproxy.docker-compose.yml
- vpn/vpn.docker-compose.yml
\ No newline at end of file
services:
vpn:
image: linuxserver/wireguard
cap_add:
- NET_ADMIN
- SYS_MODULE
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
- SERVERURL=localhost #optional
- SERVERPORT=51820 #optional
- PEERS=1 #optional
- PEERDNS=auto #optional
- INTERNAL_SUBNET=10.13.13.0 #optional
volumes:
- ./config:/config
#- ./modules:/lib/modules
ports:
- 51820:51820/udp
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
restart: unless-stopped
networks:
- intranet
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment