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

29 lines
592B

  1. iptables:
  2. service:
  3. enabled: true
  4. chain:
  5. INPUT:
  6. policy:
  7. - table: nat
  8. policy: ACCEPT
  9. rules:
  10. - position: 1
  11. table: filter
  12. protocol: tcp
  13. destination_port: 8088
  14. source_network: 127.0.0.1
  15. jump: ACCEPT
  16. comment: Blah
  17. OUTPUT:
  18. policy: ACCEPT
  19. FORWARD:
  20. policy:
  21. - table: mangle
  22. policy: DROP
  23. POSTROUTING:
  24. rules:
  25. - jump: MASQUERADE
  26. protocol: icmp
  27. out_interface: ens3
  28. table: nat