Advertisement
apad464

wg-easy command

Aug 19th, 2022
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. docker run -d \
  2. --name=wg-easy \
  3. -e WG_HOST= \
  4. -e PASSWORD= \
  5. -v ~/.wg-easy:/etc/wireguard \
  6. -p 1234:1234/udp \
  7. -e WG_PORT=1234 \
  8. -p 51821:51821/tcp \
  9. --cap-add=NET_ADMIN \
  10. --cap-add=SYS_MODULE \
  11. --sysctl="net.ipv4.conf.all.src_valid_mark=1" \
  12. --sysctl="net.ipv4.ip_forward=1" \
  13. --restart unless-stopped \
  14. weejewel/wg-easy
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement