As Rejetto said,
this is not implemented internally on HFS (for those who are expert on coding, something basic could be done using HFS's Macros, but it could make HFS slow, since we need to filter a lot of IP ranges for blocking an entirely country).
In your particular case,
you have to use an external software.
The most effective and easy to use solution, is using PeerBlock. Once you have installed PeerBlock, you have to use one list listed
here (selecting the country you want to block). But keep in mind that
PeerBlock works blocking connection system-wide (and you can't select only one software to block). So, it will block ALL connections you configure, for ALL the programs running on your Windows system (not only HFS). If you need to connect to some of the IPs you have blocked, you would need to temporary disable PeerBlock, or use another solution. As far I know, this is the only most easy solution.
» IMPORTANT: if you are targeted with DDoS attacks by someone expert,
you could end blocking up almost the whole world (it could be like a
witch-hunt), since the attacker could try to access your server from ANY other country using a VPN (or a proxy).
Most of the time blocking an entirely country works, but sometimes it doesn't (and you will end blocking legitimate -good- users), so this is only an extreme measure.
It's best NOT blocking an entirely country, but starting blocking ONLY the IP ranges of your attacker.I hope it helps (please report back if that helped).
![Smiley :)](/forum/Smileys/default/smiley.gif)
Cheers,
Leo.-