mirror of https://github.com/wg-easy/wg-easy
12 changed files with 60 additions and 37 deletions
@ -0,0 +1,5 @@ |
|||||
|
{ |
||||
|
"scripts": { |
||||
|
"build": "" |
||||
|
} |
||||
|
} |
@ -1,9 +1,9 @@ |
|||||
docker run \ |
docker run \ |
||||
-d \ |
|
||||
--name wg-easy \ |
--name wg-easy \ |
||||
--cap-add=NET_ADMIN \ |
--cap-add=NET_ADMIN \ |
||||
--cap-add=SYS_MODULE \ |
--cap-add=SYS_MODULE \ |
||||
--sysctl="net.ipv4.conf.all.src_valid_mark=1" \ |
--sysctl="net.ipv4.conf.all.src_valid_mark=1" \ |
||||
--mount type=bind,source="$(pwd)"/config,target=/etc/wireguard \ |
--mount type=bind,source="$(pwd)"/config,target=/etc/wireguard \ |
||||
-p 51820:51820/udp \ |
-p 51820:51820/udp \ |
||||
|
-p 51821:51821/tcp \ |
||||
wg-easy |
wg-easy |
Loading…
Reference in new issue