Sharing Knowledge | System Admin Articles

Disable Ping on Linux Server - Quick HOWTO

How do you disable ping to Linux server? Here is the quick steps:

 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
That's all..! 

Labels: Linux

My Profile PhotoAbout the Author

I'm Parthiban, An UNIX System Admin by Profession. I'm Experienced in Linux/Unix System Administration and Scripting. I have done lot of work on the infrastructure Mgmt side in Linux, UNIX and Windows system administration, Hardware, Storage and Data center. I'm blogging since 2008.
Follow Me On Twitter or On Facebook

0 Comments for "Disable Ping on Linux Server - Quick HOWTO"

What do you think about this Article? Add your Opinion..!

Back To Top