Commit bda3886a authored by Jonathan Struebel's avatar Jonathan Struebel

Change ifupdown forward configuration to use forward_interface_ferm_rule_enabled per documentation

parent cbab8f39
......@@ -8,7 +8,7 @@
{% if params.forward|d()|bool %}
{% set ifupdown__tpl_forward_rules = (['domain $domains table filter chain FORWARD {']
+ ([' interface ' + interface_name + ' ' + params.forward_interface_ferm_rule|d("ACCEPT") + ";"]
if params.forward_interface_ferm_rule|d() != omit
if params.forward_interface_ferm_rule_enabled|d(True)|bool
else [])
+ ([' outerface ' + interface_name + ' ' + params.forward_outerface_ferm_rule|d("ACCEPT") + ";"]
if params.forward_outerface_ferm_rule_enabled|d(True)|bool
......
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