Iptables country http://daemonkeeper.net/781/mass-blocking-ip-addresses-with-ipset/ https://www.linuxjournal.com/content/advanced-firewall-configurations-ipset?page=0,1