From 501b642947e9f1e1bd1cad5ab3b866d1eb6ea8d9 Mon Sep 17 00:00:00 2001 From: host Date: Sat, 11 Apr 2026 14:01:34 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B8=D1=82=D1=8C=20wg?= =?UTF-8?q?-easy-install.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wg-easy-install.md | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 wg-easy-install.md diff --git a/wg-easy-install.md b/wg-easy-install.md deleted file mode 100644 index 5c5d9be..0000000 --- a/wg-easy-install.md +++ /dev/null @@ -1,36 +0,0 @@ -WG-EASY INSTALLATION GUIDE (DOCKER RUN) - -1. Update system: apt update && apt upgrade -y - -2. Install Docker: apt install -y docker.io docker-compose systemctl - enable docker systemctl start docker - -3. Open ports (if firewall is enabled): ufw allow 51820/udp ufw allow - 51821/tcp ufw enable - -4. Run wg-easy container: - -docker run -d -–name=wg-easy --e WG_HOST=193.124.57.125 --e -PASSWORD_HASH=‘$2a12TXjvDufTG5P4ef6k7M0F..3z7NekUPoHnaNyHnY9XHrSIlxG5nPyO’ --e WG_DEFAULT_DNS=1.1.1.1,1.0.0.1 --v /etc/wireguard:/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 -ghcr.io/wg-easy/wg-easy - -5. Check logs: docker logs -f wg-easy - -6. Open web interface: http://193.124.57.125:51821 - -7. If VPN has no internet: sysctl -w net.ipv4.ip_forward=1 iptables -t - nat -A POSTROUTING -o eth0 -j MASQUERADE - -Done.