Skip to contentSkip to conversation

block ping ?

DISCUSSION Syed Faisal Gillani 2 participants 2 messages Apr 10, 2004

lore
Share & tools
lore
#1 lore raw
Quoted 2 lines · Syed Faisal Gillani

i am a newbie learning iptables ...
can u tell me the rule of blocking only ping on my nic ?

Hi,

try this:

iptables -A INPUT -p icmp --icmp-type echo-request -j DROP to block incomming pings

Anyway, remember that blocking pings is the best way to tell everyone "Hey dudes, I have something to protect, come in now!"

regards
Frederic
--
< Ylli> lol je rigole neuro jte prend pa pr un pervers ms un president et pere de famille respectable :s
http://www.seclab.jp