compose wireguard (E4, linuxserver épinglé digest)
This commit is contained in:
@@ -0,0 +1,22 @@
|
|||||||
|
# WireGuard — E4 (J5040) : accès VPN famille (portable). LAN-only (ufw 51820 udp WAN).
|
||||||
|
# Config client générée à l'activation (wg genkey, QR via `wg show`); secrets hors git.
|
||||||
|
services:
|
||||||
|
wireguard:
|
||||||
|
image: lscr.io/linuxserver/wireguard@sha256:437a490f7afc6969434251351ba47455a3829e71cef9c6172f3f533332d04063
|
||||||
|
container_name: wireguard
|
||||||
|
restart: unless-stopped
|
||||||
|
labels:
|
||||||
|
- "com.centurylinklabs.watchtower.enable=false"
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN
|
||||||
|
- SYS_MODULE
|
||||||
|
sysctls:
|
||||||
|
- net.ipv4.ip_forward=1
|
||||||
|
- net.ipv6.conf.all.forwarding=1
|
||||||
|
environment:
|
||||||
|
- WG_HOST=folzocorp.fr
|
||||||
|
- WG_PORT=51820
|
||||||
|
volumes:
|
||||||
|
- ./wg:/etc/wireguard
|
||||||
|
ports:
|
||||||
|
- "0.0.0.0:51820:51820/udp"
|
||||||
Reference in New Issue
Block a user