From dec1f86d32dcb52ae36f94072bdb2d68eb0168fa Mon Sep 17 00:00:00 2001 From: Robert Gerus Date: Wed, 31 Jul 2013 00:35:40 +0200 Subject: [PATCH] Redirect for http --- rules/11-pht-forwards | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/11-pht-forwards b/rules/11-pht-forwards index ee59714..d4b723f 100644 --- a/rules/11-pht-forwards +++ b/rules/11-pht-forwards @@ -5,4 +5,5 @@ rules() { iptables -t nat $flag POSTROUTING -o ${IF_WAN} -d 178.217.184.63 -j SNAT --to-source ${HOST_KASHA_WAN2} fi iptables -t nat $flag PREROUTING -i ${IF_WAN} -d ${HOST_KASHA_WAN} -p tcp --dport 666 -j DNAT --to-destination 10.24.40.1:22 + iptables -t nat $flag PREROUTING -i ${IF_WAN} -d ${HOST_KASHA_WAN} -p tcp --dport 777 -j DNAT --to-destination 10.24.40.1:80 }