Friday, August 5, 2011

To disable ping request

To disable ping request, please use the following

================
# echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_all
================

1 comment:

  1. You can also do this using iptables. Simple block the echo request on INPUT chain or you can block the echo reply on OUTPUT chain.

    ReplyDelete