wg-easy/run.sh
Emile Nijssen 9d355f67d8 wip
2021-05-23 12:02:56 +02:00

9 lines
253 B
Bash
Executable File

docker run \
--name wg-easy \
--cap-add=NET_ADMIN \
--cap-add=SYS_MODULE \
--sysctl="net.ipv4.conf.all.src_valid_mark=1" \
--mount type=bind,source="$(pwd)"/config,target=/etc/wireguard \
-p 51820:51820/udp \
-p 51821:51821/tcp \
wg-easy