summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-03-14 17:49:23 +0000
committerOlivier Blin <oblin@mandriva.org>2005-03-14 17:49:23 +0000
commit0a39bad172b13f3d4e6258dadd16d4de148feb06 (patch)
treeadefd9f360d30fd02945b96f9806500134a7e9a0
parent7efb10d1f420356291a5456f349f4d887338e1f7 (diff)
downloaddrakx-0a39bad172b13f3d4e6258dadd16d4de148feb06.tar
drakx-0a39bad172b13f3d4e6258dadd16d4de148feb06.tar.gz
drakx-0a39bad172b13f3d4e6258dadd16d4de148feb06.tar.bz2
drakx-0a39bad172b13f3d4e6258dadd16d4de148feb06.tar.xz
drakx-0a39bad172b13f3d4e6258dadd16d4de148feb06.zip
allow connections from local net to firewall (#14586)
-rw-r--r--perl-install/network/shorewall.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/shorewall.pm b/perl-install/network/shorewall.pm
index 338c8dd2d..563914578 100644
--- a/perl-install/network/shorewall.pm
+++ b/perl-install/network/shorewall.pm
@@ -143,7 +143,7 @@ sub write {
(map { [ 'loc', $_, 'detect' ] } @{$conf->{loc_interface} || []}),
);
set_config_file('policy',
- if_($conf->{loc_interface}[0], [ 'loc', 'net', 'ACCEPT' ], [ 'fw', 'loc', 'ACCEPT' ]),
+ if_($conf->{loc_interface}[0], [ 'loc', 'net', 'ACCEPT' ], [ 'loc', 'fw', 'ACCEPT' ], [ 'fw', 'loc', 'ACCEPT' ]),
[ 'fw', 'net', 'ACCEPT' ],
[ 'net', 'all', 'DROP', 'info' ],
[ 'all', 'all', 'REJECT', 'info' ],