PDA

View Full Version : Blacklist brazile range Ip


directadminhelp
06-25-2006, 01:24 AM
I want to blacklist brazilian (ip starts with 201) because we see a lot of trials to attack from there. If i set in the blacklist 201.*.*.* it is not working. What should I do?

thanks

DirectAdmin Support
06-25-2006, 02:34 AM
Do you mean for DA and this option?
http://www.directadmin.com/features.php?id=573

It doesn't do ranges. The best way to block a range is to use iptables, or the firewall of your choice. (google for more info on how)

John

Webcart
07-01-2006, 03:42 PM
Originally posted by directadminhelp
I want to blacklist brazilian (ip starts with 201) because we see a lot of trials to attack from there. If i set in the blacklist 201.*.*.* it is not working. What should I do?

thanks

Install firewall.
If you are running Linux, consider using APF (with BDF). It's easy to install and easy to use (not so easy to uninstall though:) )
For FreeBSD servers consider ipfw.

Hope that helps.