X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=blobdiff_plain;f=config%2Fforwardfw%2Frules.pl;h=6a91ddf5725c094da1da3dbb89f75eb476166ba5;hp=82b5dd61e5d3ad0249adcfd0dbc9ad9b9b0c7b2b;hb=b85d2a9819e5708b1716976c112b6043abe49881;hpb=7326051edb1ebec404e0b81bd85292285d7a5b6b diff --git a/config/forwardfw/rules.pl b/config/forwardfw/rules.pl index 82b5dd61e..6a91ddf57 100755 --- a/config/forwardfw/rules.pl +++ b/config/forwardfw/rules.pl @@ -115,7 +115,7 @@ if($param eq 'flush'){ system ("/usr/sbin/firewall-policy"); }elsif($fwdfwsettings{'POLICY'} eq 'MODE2'){ &p2pblock; - system ("iptables -A $CHAIN -m state --state NEW -j ACCEPT"); + system ("iptables -A $CHAIN -m conntrack --ctstate NEW -j ACCEPT"); system ("/usr/sbin/firewall-policy"); system ("/etc/sysconfig/firewall.local reload"); }