Created
May 16, 2023 10:52
-
-
Save AnteaterKit/d9b48b0327a75d76566a1594b0d7df40 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -d \ | |
--name=wg-easy \ | |
-e WG_HOST=YOUR_SERVER_IP \ | |
-e PASSWORD=YOUR_ADMIN_PASSWORD \ | |
-v ~/.wg-easy:/etc/wireguard \ | |
-p 51820:51820/udp \ | |
-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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment