From 7c0fb92d380e9941f2577ff03e2cd918ddb309cc Mon Sep 17 00:00:00 2001 From: creme Date: Wed, 8 Jan 2020 12:59:22 +0000 Subject: [PATCH] update from server --- etc/init.d/S41firewall | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etc/init.d/S41firewall b/etc/init.d/S41firewall index 41b5939..7799090 100755 --- a/etc/init.d/S41firewall +++ b/etc/init.d/S41firewall @@ -220,6 +220,10 @@ if [ "$1" = "start" ]; then # $IPT -w -t nat -A PREROUTING -d 89.163.145.170 -p tcp --dport 8448 -j DNAT --to-destination 192.168.1.14:8448 $IPT -w -A FORWARD -p tcp -d 192.168.1.14 --dport 8448 -j ACCEPT + $IPT -w -t nat -A PREROUTING -d 89.163.145.170 -p tcp --dport 3478 -j DNAT --to-destination 192.168.1.14:3478 + $IPT -w -A FORWARD -p tcp -d 192.168.1.14 --dport 3478 -j ACCEPT + $IPT -w -t nat -A PREROUTING -d 89.163.145.170 -p udp --dport 3478 -j DNAT --to-destination 192.168.1.14:3478 + $IPT -w -A FORWARD -p udp -d 192.168.1.14 --dport 3478 -j ACCEPT $IPT -w -t nat -A POSTROUTING ! -d 192.168.1.0/24 -s 192.168.1.14 -j SNAT --to 89.163.145.170 # 0x0