RE: How to block ping?

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

 



I think an easier way than mucking with your iptables rules would
be to use sysctl.

Add a line to your /etc/sysctl.conf that looks like:
net.ipv4.icmp_echo_ignore_all = 1

And run "sysctl -p".

-Steve

> -----Original Message-----
> From: redhat-list-admin@xxxxxxxxxx
> [mailto:redhat-list-admin@xxxxxxxxxx]On Behalf Of Ding Li
> Sent: Wednesday, November 05, 2003 7:25 PM
> To: redhat-list@xxxxxxxxxx
> Subject: How to block ping?
> 
> 
> Hi,gurus
> 
> Could someone tell me how to block pings in redhat 9.0? I 
> know I should 
> put a line in /etc/sysconfig/iptables. But I dont know how the line 
> like.:( 
> 
> Thanks
> 
> Ding
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux