Commit 9a0c3839 authored by Ad Schellevis's avatar Ad Schellevis

(filter) remove unused/unsupported anchors

parent 6e5f2354
...@@ -1452,9 +1452,6 @@ function filter_nat_rules_generate(&$FilterIflist) ...@@ -1452,9 +1452,6 @@ function filter_nat_rules_generate(&$FilterIflist)
$natrules = "no nat proto carp\n"; $natrules = "no nat proto carp\n";
$natrules .= "no rdr proto carp\n"; $natrules .= "no rdr proto carp\n";
$natrules .= "nat-anchor \"natearly/*\"\n";
$natrules .= "nat-anchor \"natrules/*\"\n\n";
update_filter_reload_status(gettext("Creating 1:1 rules...")); update_filter_reload_status(gettext("Creating 1:1 rules..."));
$reflection_txt = ""; $reflection_txt = "";
...@@ -2484,10 +2481,6 @@ function filter_rules_generate(&$FilterIflist) ...@@ -2484,10 +2481,6 @@ function filter_rules_generate(&$FilterIflist)
/* relayd */ /* relayd */
$ipfrules .= "anchor \"relayd/*\"\n"; $ipfrules .= "anchor \"relayd/*\"\n";
/* OpenVPN user rules from radius */
$ipfrules .= "anchor \"openvpn/*\"\n";
/* IPsec user rules from radius */
$ipfrules .= "anchor \"ipsec/*\"\n";
# BEGIN OF firewall rules # BEGIN OF firewall rules
/* default block logging? */ /* default block logging? */
...@@ -2919,7 +2912,6 @@ EOD; ...@@ -2919,7 +2912,6 @@ EOD;
} }
$ipfrules .= "\n# User-defined rules follow\n"; $ipfrules .= "\n# User-defined rules follow\n";
$ipfrules .= "\nanchor \"userrules/*\"\n";
/* Generate user rule lines */ /* Generate user rule lines */
foreach($rule_arr1 as $rule) { foreach($rule_arr1 as $rule) {
if (isset($rule['disabled'])) { if (isset($rule['disabled'])) {
......
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