Disabling / enabling ping from the server: cd /proc/sys/net/ipv4 echo 0 > icmp_echo_ignore_all (enabling) echo 1 > icmp_echo_ignore_all (disabling)