This commit is contained in:
parent
af5ec50cb2
commit
32a6f97981
@ -25,7 +25,7 @@ def test_iptables_default_rules(host):
|
|||||||
'-P INPUT ACCEPT',
|
'-P INPUT ACCEPT',
|
||||||
'-A INPUT -m state --state RELATED,ESTABLISHED -m comment --comment "ansible[iptables_default_head]" -j ACCEPT',
|
'-A INPUT -m state --state RELATED,ESTABLISHED -m comment --comment "ansible[iptables_default_head]" -j ACCEPT',
|
||||||
'-A INPUT -i lo -m comment --comment "ansible[iptables_default_head]" -j ACCEPT',
|
'-A INPUT -i lo -m comment --comment "ansible[iptables_default_head]" -j ACCEPT',
|
||||||
'-A INPUT -p icmp --icmp-type 8 -m comment --comment "ansible[iptables_default_head]" -j ACCEPT',
|
'-A INPUT -p icmp -m icmp --icmp-type 8 -m comment --comment "ansible[iptables_default_head]" -j ACCEPT',
|
||||||
'-A INPUT -p tcp -m tcp --dport 22 -m comment --comment "ansible[iptables_default_head]" -j ACCEPT',
|
'-A INPUT -p tcp -m tcp --dport 22 -m comment --comment "ansible[iptables_default_head]" -j ACCEPT',
|
||||||
'-A INPUT -j REJECT'
|
'-A INPUT -j REJECT'
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user