From a3c31b43aa8c4d79c3fbca460110a591e164d748 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9=20=D0=91=D0=B0?= =?UTF-8?q?=D0=B4=D0=BE=D0=B2=D1=81=D0=BA=D0=B8=D0=B9?= Date: Mon, 1 Jun 2026 12:30:14 +0000 Subject: [PATCH] Update README_old.md --- README_old.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README_old.md b/README_old.md index e4eb817..0f02585 100644 --- a/README_old.md +++ b/README_old.md @@ -193,3 +193,12 @@ sudo systemctl enable --now openvpn-client@client ``` ip -details link show dev tun0 | grep dco ``` +``` +iptables -t nat -A PREROUTING -p tcp --dport 222 -j DNAT --to-destination 157.22.241.59:22 +``` +``` +iptables -t nat -A PREROUTING -p udp --dport 1443 -j DNAT --to-destination 157.22.241.59:1443 +``` +``` +iptables -t nat -A POSTROUTING -d 157.22.241.59 -o ens3 -j MASQUERADE +``` \ No newline at end of file