From 1353b04c8250c2acf22d181c96ca80980ea7d13d Mon Sep 17 00:00:00 2001 From: bbruns Date: Sat, 18 Dec 2010 19:21:15 +0000 Subject: [PATCH] Updating port forwarding code --- bin/firewall-sosdg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/firewall-sosdg b/bin/firewall-sosdg index 91b5176..6286023 100755 --- a/bin/firewall-sosdg +++ b/bin/firewall-sosdg @@ -502,7 +502,7 @@ if [ "$PORTFW" ] && [ "$NAT" ]; then if [ "$SRCIP" ]; then SRCIP="-s ${SRCIP}" fi - //PORTADD=( ${i//:/ } ) + #PORTADD=( ${i//:/ } ) $IPTABLES -A PREROUTING -t nat ${DSTIF} -p ${DSTPROTO} ${SRCIP} \ --dport ${DSTPORT} -d ${DSTIP} -j DNAT --to \ ${DSTINTIP}:${DSTINTPORT}