Re: block ping ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 11 Apr 2004, Syed Faisal Gillani wrote:

> 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


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux