Installare WireGuard Easy su Docker

Luglio 3, 2023 By luca@studiomondello.eu

docker run -d \

--name=wg-easy \

-e WG_HOST=METTI-IP-PUBBLICO \

-e PASSWORD=SCEGLI-PASSWORD \

-v ~/.wg-easy:/etc/wireguard \

-p 51820:51820/udp \

-p 51821:51821/tcp \

--cap-add=NET_ADMIN \

--cap-add=SYS_MODULE \

--sysctl="net.ipv4.conf.all.src_valid_mark=1" \

--sysctl="net.ipv4.ip_forward=1" \

--restart unless-stopped \

weejewel/wg-easy