{% set firewalld = pillar.get('firewalld', {}) -%} # firewalld config file # default zone # The default zone used if an empty zone string is used. # Default: public DefaultZone={{ firewalld.default_zone|default('public') }} # Minimal mark # Marks up to this minimum are free for use for example in the direct # interface. If more free marks are needed, increase the minimum # Default: 100 MinimalMark={{ firewalld.minimal_mark|default('100') }} # Clean up on exit # If set to no or false the firewall configuration will not get cleaned up # on exit or stop of firewalld # Default: yes CleanupOnExit={{ firewalld.cleanup_on_exit|default('yes') }} # Lockdown # If set to enabled, firewall changes with the D-Bus interface will be limited # to applications that are listed in the lockdown whitelist. # The lockdown whitelist file is lockdown-whitelist.xml # Default: no Lockdown={{ firewalld.lockdown|default('no') }} # IPv6_rpfilter # Performs a reverse path filter test on a packet for IPv6. If a reply to the # packet would be sent via the same interface that the packet arrived on, the # packet will match and be accepted, otherwise dropped. # The rp_filter for IPv4 is controlled using sysctl. # Default: yes IPv6_rpfilter={{ firewalld.IPv6_rpfilter|default('yes') }}