From 8762442c4ece6aaf6b863a7c86aaefb9e47c8be3 Mon Sep 17 00:00:00 2001 From: Alexander Marx Date: Wed, 12 Jun 2013 15:17:12 +0200 Subject: [PATCH] Forward Firewall: INPUT Firewall added "ALL" with ip 0.0.0.0 --- config/forwardfw/rules.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/forwardfw/rules.pl b/config/forwardfw/rules.pl index f9e7922b2..12723e749 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]= ; -- 2.39.2