mirror of
https://github.com/WeeJeWel/wg-easy.git
synced 2024-11-16 23:49:24 +08:00
9 lines
237 B
Bash
Executable File
9 lines
237 B
Bash
Executable File
docker run \
|
|
-d \
|
|
--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 \
|
|
wg-easy |