Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- docker run -d \
- --name=wg-easy \
- -e WG_HOST= \
- -e PASSWORD= \
- -v ~/.wg-easy:/etc/wireguard \
- -p 1234:1234/udp \
- -e WG_PORT=1234 \
- -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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement