Land #487, Allow ICMP protocol for linux machine

This commit is contained in:
Jeffrey Martin 2020-10-29 14:14:36 -05:00
commit 7d136f4932
No known key found for this signature in database
GPG Key ID: 0CD9BBC2AF15F171
1 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,10 @@ iptables_rule '01_ssh' do
lines "-A INPUT -p tcp --dport 22 -j ACCEPT"
end
iptables_rule '01_icmp' do
lines "-A INPUT -p icmp -j ACCEPT"
end
iptables_rule '999_drop_all' do
lines '-A INPUT -j DROP'
end