From: Alexander Marx Date: Wed, 12 Jun 2013 13:17:12 +0000 (+0200) Subject: Forward Firewall: INPUT Firewall added "ALL" with ip 0.0.0.0 X-Git-Tag: v2.15-beta1~286^2~11^2~61 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=8762442c4ece6aaf6b863a7c86aaefb9e47c8be3 Forward Firewall: INPUT Firewall added "ALL" with ip 0.0.0.0 --- diff --git a/config/forwardfw/rules.pl b/config/forwardfw/rules.pl index f9e7922b25..12723e749a 100755 --- a/config/forwardfw/rules.pl +++ b/config/forwardfw/rules.pl @@ -224,6 +224,9 @@ sub buildrules if($$hash{$key}[6] eq 'ORANGE'){ $targethash{$key}[0]=$defaultNetworks{'ORANGE_ADDRESS'}; } + if($$hash{$key}[6] eq 'ALL'){ + $targethash{$key}[0]='0.0.0.0/0'; + } if($$hash{$key}[6] eq 'RED' || $$hash{$key}[6] eq 'RED1'){ open(FILE, "/var/ipfire/red/local-ipaddress") or die 'Unable to open config file.'; $targethash{$key}[0]= ;