Got Blorped?

Tech Blog

Howto disable ping to your Centos server

without comments

Simple steps to disable ping to your Centos linux server




Step 1: As root, open /etc/sysctl.conf for edit

nano -w /etc/sysctl.conf

Step 1.1: Add these lines in the bottom

net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.icmp_echo_ignore_all = 1

Step 2: Restart sysctl to set the settings in effect

sysctl -p

This change will persist following a reboot.

Written by admin

August 9th, 2009 at 12:05 am

Posted in Centos, Linux

Leave a Reply