How to Disable Ping

Categories General Info

To disable ping

echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all
To enable ping
echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_all

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.