Compare commits
2 Commits
1e7083f7a5
...
441b23a187
| Author | SHA1 | Date | |
|---|---|---|---|
| 441b23a187 | |||
| 519bd5ee2f |
@@ -2,7 +2,7 @@ version: "2.1"
|
|||||||
services:
|
services:
|
||||||
wireguard:
|
wireguard:
|
||||||
image: linuxserver/wireguard
|
image: linuxserver/wireguard
|
||||||
container_name: wireguard
|
container_name: wireguard_server
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
- SYS_MODULE
|
- SYS_MODULE
|
||||||
@@ -12,9 +12,9 @@ services:
|
|||||||
- TZ=Europe/London
|
- TZ=Europe/London
|
||||||
- SERVERURL=gerbil.tk #optional
|
- SERVERURL=gerbil.tk #optional
|
||||||
- SERVERPORT=51820 #optional
|
- SERVERPORT=51820 #optional
|
||||||
- PEERS=1 #optional
|
- PEERS=3 #optional
|
||||||
- PEERDNS=auto #optional
|
- PEERDNS=auto #optional
|
||||||
- INTERNAL_SUBNET=10.13.13.0 #optional
|
- INTERNAL_SUBNET=10.0.0.0
|
||||||
volumes:
|
volumes:
|
||||||
- /Red-Vol/Media/Containers/wireguard/config:/config
|
- /Red-Vol/Media/Containers/wireguard/config:/config
|
||||||
- /lib/modules:/lib/modules
|
- /lib/modules:/lib/modules
|
||||||
@@ -23,3 +23,7 @@ services:
|
|||||||
sysctls:
|
sysctls:
|
||||||
- net.ipv4.conf.all.src_valid_mark=1
|
- net.ipv4.conf.all.src_valid_mark=1
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
external: true
|
||||||
|
name: gerbil_network
|
||||||
|
|||||||
Reference in New Issue
Block a user