img img

Linux ping Close

To disable ping on your Linux server, you can perform the following steps. After completing this process, others won't be able to ping your server.

We open the sysctl.conf file with nano:

nano /etc/sysctl.conf

 

If the following line exists, change the value from 0 to 1. If it doesn't exist, you can add it to the bottom of the file:

net.ipv4.icmp_echo_ignore_all=1

Your server will now be unresponsive to ping requests.