Or only include certain ones.
Eg block all of Africa
Easiest way of doing it on LAMP?
http://www.ip2location.com/free/visitor-blocker
IPTables is more efficient that .htaccess but both will work
Saw that one.
Better to exclude countries I suspect rather than allow, due to the fact that you might have incomplete data.
thanks
Agreed, only ever deny, not allow - presuming the list will be shorter that is.
it's easy enough to do on the command line but here is a script to help you on your way
https://github.com/tlhackque/BlockCountries