IP Table help, Droping entire 200 block of ip's?
Hi All
I need a little help with iptables. I want to block all of the Brazil ip addresses, I understand they are in the 200 block. Is this the correct way to block the 200? Code:
iptables -A INPUT -s 200.* -j DROP Any help greatly appreciated :) |
No, iptables doesn't accept wildcards. Try using the CIDR nomenclature instead:
iptables -A INPUT -s 200.0.0.0/8 -j DROP |
Thank you Sir :)
|
All times are GMT -5. The time now is 09:45 PM. |