For those not at cloudflare level and don&#x27;t want to reinvent the wheel, try IPSET instead of iptables<p><a href="http:&#x2F;&#x2F;daemonkeeper.net&#x2F;781&#x2F;mass-blocking-ip-addresses-with-ipset&#x2F;" rel="nofollow">http:&#x2F;&#x2F;daemonkeeper.net&#x2F;781&#x2F;mass-blocking-ip-addresses-with-...</a><p>TLDR: <a href="http:&#x2F;&#x2F;daemonkeeper.net&#x2F;wp-content&#x2F;uploads&#x2F;2012&#x2F;05&#x2F;ipset4.png" rel="nofollow">http:&#x2F;&#x2F;daemonkeeper.net&#x2F;wp-content&#x2F;uploads&#x2F;2012&#x2F;05&#x2F;ipset4.pn...</a>