The following firewall rules will drop ICMP requests.
- Iptables:
iptables -A OUTPUT -p icmp -d 0/0 -j DROP
-
echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all
The following firewall rules will drop ICMP requests.
iptables -A OUTPUT -p icmp -d 0/0 -j DROP
echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all
0 comments:
Post a Comment