How to disable ping request?

If you are looking for the  steps to disable ping. Please find the steps below.

Run the following command to disable ping request to your server.

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

You can also do the same using IPtables. Please run the below command if you want to disable the ping request using IPtables.

iptables -A INPUT -p icmp -j DROP
 

Was this answer helpful?

 Print this Article

Also Read

How to Secure PHP from php.ini

PHP's default configuration file, php.ini (usually found in /etc/php.ini on most Linux systems)...

How to hide your PHP version information?

Like Apache, it is not good to expose your PHP information to the public. Please follow the below...

Disable shell access for unknown users

Suspect there are other users in your system that have shell access to your system? Please follow...

what is eXploit Scanner (cxs)

eXploit Scanner (cxs) is a new tool from Configserver that performs active scanning of files as...

How To Use The IP Deny Manager

This tutorial will teach you how to use the IP Deny Manager to block access to your web site from...