mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-09-21 00:01:14 +02:00
Land #487, Allow ICMP protocol for linux machine
This commit is contained in:
commit
7d136f4932
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user