Switch to wg-easy
This commit is contained in:
@@ -17,28 +17,25 @@ services:
|
||||
- NET_ADMIN
|
||||
|
||||
wireguard:
|
||||
image: linuxserver/wireguard
|
||||
image: weejewel/wg-easy
|
||||
container_name: wireguard
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- '/home/nick/configs/vpn/wireguard:/config'
|
||||
- '/lib/modules:/lib/modules'
|
||||
- '/home/nick/configs/vpn/wireguard:/etc/wireguard'
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/Athens
|
||||
- SERVERURL=${WG_SERVER}
|
||||
- SERVERPORT=51820
|
||||
- PEERS=${WG_PEERS}
|
||||
- PEERDNS=auto
|
||||
- ALLOWEDIPS=0.0.0.0/0
|
||||
- WG_HOST=${WG_URL}
|
||||
- WG_DEFAULT_DNS=1.1.1.1, 1.0.0.1
|
||||
ports:
|
||||
- '51820:51820/udp'
|
||||
networks:
|
||||
- vpn
|
||||
user: "1000:1000"
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
- SYS_MODULE
|
||||
sysctls:
|
||||
- net.ipv4.ip_forward=1
|
||||
- net.ipv4.conf.all.src_valid_mark=1
|
||||
|
||||
tor:
|
||||
image: dperson/torproxy
|
||||
|
Reference in New Issue
Block a user