update readme

This commit is contained in:
Emile Nijssen 2021-11-22 22:47:58 +01:00
parent 5cf5fcbfeb
commit 6ba32d2880

View File

@ -49,13 +49,13 @@ To automatically install & run wg-easy, simply run:
<pre> <pre>
$ docker run -d \ $ docker run -d \
--name=wg-easy \ --name=wg-easy \
--cap-add=NET_ADMIN \ -e WG_HOST=<b>🚨YOUR_SERVER_IP</b> \
--cap-add=SYS_MODULE \ -e PASSWORD=<b>🚨YOUR_ADMIN_PASSWORD</b> \
-e WG_HOST=<b>YOUR_SERVER_IP</b> \
-e PASSWORD=<b>YOUR_ADMIN_PASSWORD</b> \
-v ~/.wg-easy:/etc/wireguard \ -v ~/.wg-easy:/etc/wireguard \
-p 51820:51820/udp \ -p 51820:51820/udp \
-p 51821:51821/tcp \ -p 51821:51821/tcp \
--cap-add=NET_ADMIN \
--cap-add=SYS_MODULE \
--sysctl="net.ipv4.conf.all.src_valid_mark=1" \ --sysctl="net.ipv4.conf.all.src_valid_mark=1" \
--sysctl="net.ipv4.ip_forward=1" \ --sysctl="net.ipv4.ip_forward=1" \
--restart unless-stopped \ --restart unless-stopped \