|
|
|
|
|
|
|
|
# Default: off |
|
|
# Default: off |
|
|
LogDenied={{ firewalld.LogDenied|default('off') }} |
|
|
LogDenied={{ firewalld.LogDenied|default('off') }} |
|
|
{%- endif %} |
|
|
{%- endif %} |
|
|
|
|
|
{%- if firewalld.get('AutomaticHelpers', False) %} |
|
|
|
|
|
|
|
|
|
|
|
# AutomaticHelpers |
|
|
|
|
|
# For the secure use of iptables and connection tracking helpers it is |
|
|
|
|
|
# recommended to turn AutomaticHelpers off. But this might have side effects on |
|
|
|
|
|
# other services using the netfilter helpers as the sysctl setting in |
|
|
|
|
|
# /proc/sys/net/netfilter/nf_conntrack_helper will be changed. |
|
|
|
|
|
# With the system setting, the default value set in the kernel or with sysctl |
|
|
|
|
|
# will be used. Possible values are: yes, no and system. |
|
|
|
|
|
# Default: system |
|
|
|
|
|
AutomaticHelpers={{ firewalld.AutomaticHelpers|default('sytem') }} |
|
|
|
|
|
{%- endif %} |
|
|
|
|
|
{%- if firewalld.get('FirewallBackend', False) %} |
|
|
|
|
|
|
|
|
|
|
|
# FirewallBackend |
|
|
|
|
|
# Selects the firewall backend implementation. |
|
|
|
|
|
# Choices are: |
|
|
|
|
|
# - nftables (default) |
|
|
|
|
|
# - iptables (iptables, ip6tables, ebtables and ipset) |
|
|
|
|
|
FirewallBackend={{ firewalld.FirewallBackend|default('nftables') }} |
|
|
|
|
|
{%- endif %} |