Commit 511cdd47 authored by Ad Schellevis's avatar Ad Schellevis
parent e5711dfb
......@@ -364,21 +364,4 @@ function filter_core_rules_system($fw, $defaults)
);
}
// out from this Firewall, using the selected gateway.
foreach ($fw->getInterfaceMapping() as $ifdescr => $ifcfg) {
if (!isset($ifcfg['virtual'])) {
foreach ($fw->getInterfaceGateways($ifcfg['if']) as $gwname) {
$fw->registerFilterRule(100000,
array('from' => $ifcfg['if'], 'direction' => 'out', 'gateway' => $gwname,
'destination' => array('network'=> $ifdescr, "not" => true),
'statetype' => 'keep',
'allowopts' => true,
'quick' => false,
'label' => "let out anything from firewall host itself"),
$defaults['pass']
);
}
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment