From 4fe479aa50ec47de1b6b085b0008643a9e44972c Mon Sep 17 00:00:00 2001 From: sasha80 Date: Wed, 23 Apr 2025 08:36:13 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5.=20=D0=9E=D0=BF=D0=B5=D1=87=D0=B0?= =?UTF-8?q?=D1=82=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ip-tables-navigation.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ip-tables-navigation.sh b/ip-tables-navigation.sh index 8135ed05..70762f9b 100644 --- a/ip-tables-navigation.sh +++ b/ip-tables-navigation.sh @@ -65,4 +65,4 @@ fi # продолжала работать с портом ${IP_PORT_IN}, а копии пакетов отправлялись на ${IP_PORT_OUT}: echo "${SUDO_PASS}" | sudo -S iptables -t nat -A PREROUTING -p udp --dport "${IP_PORT_IN}" -j REDIRECT --to-ports "${IP_PORT_OUT}" echo "${SUDO_PASS}" | sudo -S iptables -A INPUT -p udp --dport "${IP_PORT_IN}" -j ACCEPT -echo "${SUDO_PASS}" | sudo -S iptables -t nat -L -n -v и iptables -L -n -v +echo "${SUDO_PASS}" | sudo -S iptables -t nat -L -n -v