From: Alexander Marx Date: Mon, 24 Feb 2014 15:03:10 +0000 (+0100) Subject: Firewall: delete -i red0 from DNAT rules X-Git-Tag: v2.15-rc1~103 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97bf45e51628acbe7129b49d84dd4560dda14c13;p=ipfire-2.x.git Firewall: delete -i red0 from DNAT rules --- diff --git a/config/firewall/rules.pl b/config/firewall/rules.pl index d315a6c01f..d8adb156b0 100755 --- a/config/firewall/rules.pl +++ b/config/firewall/rules.pl @@ -302,7 +302,7 @@ sub buildrules } } } - print "iptables --wait -A FORWARDFW $PROT -i $con $STAG $sourcehash{$a}[0] -d $ip $fwaccessdport $TIME -j $$hash{$key}[0]\n"; + print "iptables --wait -A FORWARDFW $PROT $STAG $sourcehash{$a}[0] -d $ip $fwaccessdport $TIME -j $$hash{$key}[0]\n"; next; #PROCESS SNAT RULE }elsif($$hash{$key}[28] eq 'ON' && $$hash{$key}[31] eq 'snat'){ @@ -386,7 +386,7 @@ sub buildrules } } } - system "iptables --wait -A FORWARDFW $PROT -i $con $STAG $sourcehash{$a}[0] -d $ip $fwaccessdport $TIME -j $$hash{$key}[0]\n"; + system "iptables --wait -A FORWARDFW $PROT $STAG $sourcehash{$a}[0] -d $ip $fwaccessdport $TIME -j $$hash{$key}[0]\n"; next; #PROCESS SNAT RULE }elsif($$hash{$key}[28] eq 'ON' && $$hash{$key}[31] eq 'snat'){