Allow ICMP protocol for linux machine

Required for setup_linux_share.bat provisioning script on the windows
machine. Fix #393
This commit is contained in:
Sliim 2019-04-26 14:06:28 +02:00 committed by Dave Eargle
parent b0eaed0ae8
commit 11423795a9
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