best method for country IP blocking?
running ubuntu trusty and am wondering what the best method is for blocking certain countries from accessing my server including email, web, listserv, etc. thanks in advance!
I did this once with iptables, which is a barebones firewall program that's considered more difficult than others to use, but it is extensible. I used this guide successfully to block whole country's IP ranges for a personal server:
Hope this helps!