diff --git a/firewalld/files/zone.xml b/firewalld/files/zone.xml index 2276939..f802e28 100644 --- a/firewalld/files/zone.xml +++ b/firewalld/files/zone.xml @@ -123,6 +123,11 @@ {%- if 'icmp_block_inversion' in zone and zone.icmp_block_inversion %} {%- endif %} +{%- if 'forward' in zone %} + {%- if zone.forward %} + + {%- endif %} +{%- endif %} {%- if 'masquerade' in zone %} {%- if zone.masquerade %} diff --git a/pillar.example b/pillar.example index 87d4690..4559d46 100644 --- a/pillar.example +++ b/pillar.example @@ -116,6 +116,7 @@ firewalld: - zabbixcustom protocols: - igmp + forward: true rich_rules: - family: ipv4 source: diff --git a/test/integration/default/files/_mapdata/almalinux-8.yaml b/test/integration/default/files/_mapdata/almalinux-8.yaml index 2b396a8..d617f7f 100644 --- a/test/integration/default/files/_mapdata/almalinux-8.yaml +++ b/test/integration/default/files/_mapdata/almalinux-8.yaml @@ -112,6 +112,7 @@ values: are accepted. other_services: - zabbixcustom + forward: true ports: - comment: zabbix-agent port: 10050