Saltstack Official FirewallD Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.2KB

  1. {% set firewalld = pillar.get('firewalld', {}) -%}
  2. # firewalld config file
  3. # default zone
  4. # The default zone used if an empty zone string is used.
  5. # Default: public
  6. DefaultZone={{ firewalld.default_zone|default('public') }}
  7. # Minimal mark
  8. # Marks up to this minimum are free for use for example in the direct
  9. # interface. If more free marks are needed, increase the minimum
  10. # Default: 100
  11. MinimalMark={{ firewalld.minimal_mark|default('100') }}
  12. # Clean up on exit
  13. # If set to no or false the firewall configuration will not get cleaned up
  14. # on exit or stop of firewalld
  15. # Default: yes
  16. CleanupOnExit={{ firewalld.cleanup_on_exit|default('yes') }}
  17. # Lockdown
  18. # If set to enabled, firewall changes with the D-Bus interface will be limited
  19. # to applications that are listed in the lockdown whitelist.
  20. # The lockdown whitelist file is lockdown-whitelist.xml
  21. # Default: no
  22. Lockdown={{ firewalld.lockdown|default('no') }}
  23. # IPv6_rpfilter
  24. # Performs a reverse path filter test on a packet for IPv6. If a reply to the
  25. # packet would be sent via the same interface that the packet arrived on, the
  26. # packet will match and be accepted, otherwise dropped.
  27. # The rp_filter for IPv4 is controlled using sysctl.
  28. # Default: yes
  29. IPv6_rpfilter={{ firewalld.IPv6_rpfilter|default('yes') }}