|
|
@ -49,13 +49,13 @@ To automatically install & run wg-easy, simply run: |
|
|
|
<pre> |
|
|
|
$ docker run -d \ |
|
|
|
--name=wg-easy \ |
|
|
|
--cap-add=NET_ADMIN \ |
|
|
|
--cap-add=SYS_MODULE \ |
|
|
|
-e WG_HOST=<b>YOUR_SERVER_IP</b> \ |
|
|
|
-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 \ |
|
|
|
-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 \ |
|
|
|