new files

This commit is contained in:
root
2023-12-19 23:08:03 +01:00
parent 86ec7b467c
commit 1c6668fbb1
3 changed files with 71 additions and 0 deletions

29
template-wg_server.yaml Normal file
View File

@@ -0,0 +1,29 @@
services:
$VAR:
image: lscr.io/linuxserver/wireguard:latest
container_name: $VAR-wireguard
cap_add:
- NET_ADMIN
- SYS_MODULE
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- SERVERURL=vpn.koffeekube.io
- SERVERPORT=51820
- PEERS=200
- PEERDNS=auto
- INTERNAL_SUBNET=10.13.13.0
- ALLOWEDIPS=0.0.0.0/0
- PERSISTENTKEEPALIVE_PEERS=15
- LOG_CONFS=true
volumes:
- $VAR-config:/config
ports:
- :51820/udp
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
restart: unless-stopped
volumes:
$VAR-config: