How to install AmneziaWG VPN server (effective against VPN blocks & detection) on your UGREEN NAS

sudo docker run -d \
  --name=amnezia-wg-easy \
  -e LANGUAGE=en \
  -e WG_HOST= \
  -e PASSWORD= \
  -e PORT=51821 \
  -e WG_PORT=51820 \
  -v ~/.amnezia-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" \
  --device=/dev/net/tun:/dev/net/tun \
  --restart unless-stopped \
  ghcr.io/spcfox/amnezia-wg-easy

Comments

Popular posts from this blog

How to set up a simple backup on your UGREEN NAS using rsync & cron scheduler

How to connect to your UGREEN NAS via SSH

Fixing low brightness (darkness) in 4K HDR movies