mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 01:54:49 +00:00
(filter.inc) move anchor, pre requirement for wrapping rule plugin
This commit is contained in:
parent
477fba1122
commit
0755bdac78
@ -477,6 +477,7 @@ function filter_configure_sync()
|
||||
$rules .= "{$natrules}\n";
|
||||
$rules .= $fw->anchorToText('nat,binat,rdr', 'tail');
|
||||
$rules .= $fw->anchorToText('fw', 'head');
|
||||
$rules .= "anchor \"relayd/*\"\n"; // relayd
|
||||
$rules .= "{$pfrules}\n";
|
||||
$rules .= $fw->anchorToText('fw', 'tail');
|
||||
|
||||
@ -2491,9 +2492,6 @@ function filter_rules_generate(&$FilterIflist)
|
||||
|
||||
$ipfrules = "";
|
||||
|
||||
/* relayd */
|
||||
$ipfrules .= "anchor \"relayd/*\"\n";
|
||||
|
||||
# BEGIN OF firewall rules
|
||||
/* default block logging? */
|
||||
$log = array("block"=>null,"pass"=>null);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user