router.sls 726 B

123456789101112131415161718192021222324252627282930313233343536
  1. #
  2. # Sysctl stuff for routers
  3. #
  4. include:
  5. - sysctl
  6. /etc/sysctl.d/21-ip_forward.conf:
  7. file.managed:
  8. - source: salt://sysctl/ip_forward.conf
  9. - watch_in:
  10. - cmd: reload-sysctl
  11. /etc/sysctl.d/20-arp_caches.conf:
  12. file.managed:
  13. - source: salt://sysctl/arp_caches.conf
  14. - watch_in:
  15. - cmd: reload-sysctl
  16. /etc/sysctl.d/22-kernel.conf:
  17. file.managed:
  18. - source: salt://sysctl/kernel.conf
  19. - watch_in:
  20. - cmd: reload-sysctl
  21. /etc/sysctl.d/NAT.conf:
  22. file.managed:
  23. - source: salt://sysctl/NAT.conf
  24. - watch_in:
  25. - cmd: reload-sysctl
  26. /etc/sysctl.d/nf-ignore-bridge.conf:
  27. file.managed:
  28. - source: salt://sysctl/nf-ignore-bridge.conf
  29. - watch_in:
  30. - cmd: reload-sysctl