fix default rules
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2019-09-18 16:38:57 +02:00
parent 4bee99e638
commit af5ec50cb2

View File

@ -25,7 +25,7 @@ def test_iptables_default_rules(host):
'-P INPUT 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 -p icmp --icmp-type echo-request -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 tcp -m tcp --dport 22 -m comment --comment "ansible[iptables_default_head]" -j ACCEPT',
'-A INPUT -j REJECT'
]