wireguard easy server setup

 

If you haven't installed Docker yet, install it by running:

$ curl -sSL https://get.docker.com | sh
$ sudo usermod -aG docker $(whoami)
$ exit

Run WireGuard Easy  –––––––––––––
docker run -d \
  --name=WG-SCX \
  -e WG_HOST=🚨你的伺服器IP \
  -e PASSWORD=🚨你的管理界面密碼 \
  -e WG_DEFAULT_DNS=8.8.8.8,8.8.4.4 \
  -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
––––––––––––––––––––––––––––––

 ➡️ GitHub Repo (wg-easy): https://github.com/WeeJeWel/wg-easy

docker images

docker ps -a

docker stop id

docker rm id

to check ...

Popular posts from this blog

LinuxONE Community Cloud

github.com/Nyr/wireguard-install

永久免费的甲骨文云,升级到付费客户的益处和风险提示