Saltstack Official FirewallD Formula
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

32 lines
1.0KB

  1. # CentOS7 FirewallD firewall
  2. firewalld:
  3. enabled: True
  4. default_zone: public
  5. services:
  6. sshcustom:
  7. short: sshcustom
  8. description: SSH on port 3232 and 5252. Secure Shell (SSH) is a protocol for logging into and executing commands on remote machines. It provides secure encrypted communications. If you plan on accessing your machine remotely via SSH over a firewalled interface, enable this option. You need the openssh-server package installed for this option to be useful.
  9. ports:
  10. tcp:
  11. - 3232
  12. - 5252
  13. modules:
  14. - some_module_to_load
  15. destinations:
  16. ipv4:
  17. - 224.0.0.251
  18. - 224.0.0.252
  19. ipv6:
  20. - ff02::fb
  21. - ff02::fc
  22. zones:
  23. public:
  24. short: Public
  25. description: "For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted."
  26. services:
  27. - http
  28. - https
  29. - ssh
  30. - dhcpv6-client