Skip to content

Commit

Permalink
filter, cleanup, closes #1681
Browse files Browse the repository at this point in the history
  • Loading branch information
AdSchellevis committed Jul 4, 2017
1 parent e5711df commit 511cdd4
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/etc/inc/filter.lib.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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']
);
}
}
}

}

0 comments on commit 511cdd4

Please sign in to comment.