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

Preventing DDOS aplification open resolver attack

DDOS Attack  by open DNS resolver: Open dns resolver provides name resolution to any network...

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...

Installing Rkhunter (Rootkit Hunter) in RHEL, CentOS and Fedora

Rkhunter (Rootkit Hunter) is an open source Unix/Linux based scanner tool for Linux systems...

How to disable all Apache header information?

Follow the below steps to disable Apache header information. Edit your mail Apache configuration...

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...