Add wireguard
This commit is contained in:
parent
17c802e596
commit
5f60341a0f
1 changed files with 22 additions and 0 deletions
22
docker/wireguard/docker-compose.yml
Normal file
22
docker/wireguard/docker-compose.yml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
version: "2.1"
|
||||||
|
services:
|
||||||
|
wireguard:
|
||||||
|
image: linuxserver/wireguard
|
||||||
|
container_name: wireguard
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN
|
||||||
|
- SYS_MODULE
|
||||||
|
environment:
|
||||||
|
- TZ=Europe/Helsinki
|
||||||
|
- PEERS=4
|
||||||
|
- SERVERURL=reekynet.com
|
||||||
|
- SERVERPORT=48574
|
||||||
|
- INTERNAL_SUBNET=10.200.200.0/24
|
||||||
|
volumes:
|
||||||
|
- /docker/wireguard:/config
|
||||||
|
- /lib/modules:/lib/modules
|
||||||
|
ports:
|
||||||
|
- 48574:51820/udp
|
||||||
|
sysctls:
|
||||||
|
- net.ipv4.conf.all.src_valid_mark=1
|
||||||
|
restart: unless-stopped
|
Loading…
Reference in a new issue