Saltstack Official UFW 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.

37 satır
628B

  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. ---
  4. ufw:
  5. enabled: true
  6. settings:
  7. loglevel: 'low'
  8. applications:
  9. MySQL:
  10. comment: Allow MySQL
  11. Postgresql:
  12. limit: true
  13. comment: Limit Postgresql
  14. SSH223:
  15. deny: true
  16. comment: Deny Webscale SSH
  17. '*':
  18. deny: true
  19. from_addr: 10.0.0.0/8
  20. services:
  21. '*':
  22. deny: true
  23. from_addr:
  24. - 10.0.0.1
  25. - 10.0.0.2
  26. '22':
  27. protocol: tcp
  28. limit: true
  29. comment: Limit SSH
  30. '80':
  31. protocol: tcp
  32. deny: true
  33. comment: Deny HTTP
  34. '443':
  35. protocol: tcp
  36. comment: Allow HTTPS