Saltstack Official FirewallD Formula
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

36 líneas
1.3KB

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