PDA

View Full Version : How to BLOCK Pings



iknop
05-06-2010, 12:11 PM
Hi,

How can I block pings within my firewall settings, what is the IPCHAIN or line for it?



Thanks.

krishna.murphy
05-08-2010, 06:51 PM
Hi,

How can I block pings within my firewall settings, what is the IPCHAIN or line for it?

Thanks.

ICMP (ping) runs on IP itself. It's like TCP and UDP, very basic (doesn't have ports, which is what people usually think of for this type of thing.) Knoppix uses iproute2 to do that work, I think. I did a search on the web for "ICMP iproute2" and got a great intro to this here. (http://www.mariusv.com/netfilteriptables-split-access-with-multiple-isps/) You'll have to change your configuration to drop those packets instead of forwarding or echoing, or some such.

Cheers!:mrgreen:
Krishna