To disable ping responses in an Ubuntu dedicated server, log in with root access and enter either of the following:
echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all
-or-
iptables -I INPUT -i ech0 -p icmp -s 0/0 -j DROP
To disable ping responses in an Ubuntu dedicated server, log in with root access and enter either of the following:
echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all
-or-
iptables -I INPUT -i ech0 -p icmp -s 0/0 -j DROP