Browse Source

feat(zone): adding forwarding option to zone

pull/61/head
K. de Jong 7 months ago
parent
commit
75bdbebf3c
No account linked to committer's email address
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      firewalld/files/zone.xml

+ 3
- 0
firewalld/files/zone.xml View File

{%- if 'masquerade' in rule %} {%- if 'masquerade' in rule %}
{%- if rule.masquerade %}<masquerade/>{%- endif %} {%- if rule.masquerade %}<masquerade/>{%- endif %}
{%- endif %} {%- endif %}
{%- if 'forward' in rule %}
{%- if rule.forward %}<forward/>{%- endif %}
{%- endif %}
{%- if 'forward_port' in rule %} {%- if 'forward_port' in rule %}
{%- if 'comment' in rule.forward_port %} {%- if 'comment' in rule.forward_port %}
<!-- {{ rule.forward_port.comment }} --> <!-- {{ rule.forward_port.comment }} -->

Loading…
Cancel
Save