Skip to content

Instantly share code, notes, and snippets.

@whytewolf
Last active September 29, 2017 14:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whytewolf/86e9579525739725798cc571fd32f58d to your computer and use it in GitHub Desktop.
Save whytewolf/86e9579525739725798cc571fd32f58d to your computer and use it in GitHub Desktop.
install_iptables:
pkg.installed:
- name: iptables-services
firewalld.service-stopped:
service.dead:
- name: firewalld.service
- enabled: false
firewalld.service-masked:
service.masked:
- name: firewalld.service
iptables.service:
service.running:
- enabled: True
ip6tables.service:
service.running:
- enabled: True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment