mirror of https://github.com/trailofbits/algo
pull in changes from master
commit
1a3a14943c
@ -1,8 +1,5 @@
|
|||||||
- name: restart ssh
|
- name: restart ssh
|
||||||
service: name=ssh state=restarted
|
service: name=ssh state=restarted
|
||||||
|
|
||||||
- name: restart iptables
|
|
||||||
service: name=netfilter-persistent state=restarted
|
|
||||||
|
|
||||||
- name: flush routing cache
|
- name: flush routing cache
|
||||||
shell: echo 1 > /proc/sys/net/ipv4/route/flush
|
shell: echo 1 > /proc/sys/net/ipv4/route/flush
|
||||||
|
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
- name: Iptables configured
|
||||||
|
template: src="{{ item.src }}" dest="{{ item.dest }}" owner=root group=root mode=0640
|
||||||
|
with_items:
|
||||||
|
- { src: rules.v4.j2, dest: /etc/iptables/rules.v4 }
|
||||||
|
- { src: rules.v6.j2, dest: /etc/iptables/rules.v6 }
|
||||||
|
notify:
|
||||||
|
- restart iptables
|
Loading…
Reference in New Issue