mirror of
https://github.com/WeeJeWel/wg-easy.git
synced 2024-12-23 01:29:24 +08:00
update readme
This commit is contained in:
parent
5cf5fcbfeb
commit
6ba32d2880
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user