docker run -d \ --name=wireguard \ --cap-add=NET_ADMIN \ --cap-add=SYS_MODULE \ -e PUID=1000 \ -e PGID=1000 \ -e TZ=Europe/London \ -e SERVERURL=mtir2022.mlp.pp.ua `#optional` \ -e SERVERPORT=51820 `#optional` \ -e PEERS=30 `#optional` \ -e PEERDNS=auto `#optional` \ -e INTERNAL_SUBNET=10.12.14.0 `#optional` \ -e ALLOWEDIPS=0.0.0.0/0 `#optional` \ -e LOG_CONFS=true `#optional` \ -p 51820:51820/udp \ -v /home/user/docker_soft/wireguard/config:/config \ -v /lib/modules:/lib/modules \ --sysctl="net.ipv4.conf.all.src_valid_mark=1" \ --restart unless-stopped \ linuxserver/wireguard ========================================== -v /home/user/docker_soft/wireguard/config:/config \ -e SERVERURL=mtir2022.mlp.pp.ua `#optional` \