iptables: banning ip ranges?

2008-11-26 Thread Zach Uram
How can I use iptables to: 1) ban a specific ip address 2) ban a specific subnet such as 128.2.0.xxx Also how could I un-ban them at a later date? Thanks, Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: iptables: banning ip ranges?

2008-11-26 Thread Marco Romano
Zach Uram has written: How can I use iptables to: 1) ban a specific ip address 2) ban a specific subnet such as 128.2.0.xxx It depends on how you set the INPUT chain policy. If, as in most cases, it is set to ACCEPT, then you just have to add a rule that tells iptables to drop any packet com