summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Gerus <arachnist@i.am-a.cat>2013-07-31 00:35:40 +0200
committerRobert Gerus <arachnist@i.am-a.cat>2013-07-31 00:35:40 +0200
commitdec1f86d32dcb52ae36f94072bdb2d68eb0168fa (patch)
treeb93688a059a6cf85d6352bbfad9307494bb96bcf
parent58ef71e9967f51108574af55fe172c9261113583 (diff)
downloadold-firewall-dec1f86d32dcb52ae36f94072bdb2d68eb0168fa.tar.gz
old-firewall-dec1f86d32dcb52ae36f94072bdb2d68eb0168fa.tar.bz2
old-firewall-dec1f86d32dcb52ae36f94072bdb2d68eb0168fa.tar.xz
old-firewall-dec1f86d32dcb52ae36f94072bdb2d68eb0168fa.zip
Redirect for http
-rw-r--r--rules/11-pht-forwards1
1 files changed, 1 insertions, 0 deletions
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
}