How to Block Entire Countries from Accessing Your Website

And that’s where hooking up with Cloudflare or Incapsula will come in handy. If there is an attack that they see happening across thousands of their sites, they will know it’s bad and can block it for the rest of their customers. But when you are on your own, there is a certain amount of bad traffic that is unavoidable. Anything connected to the public Internet is going to be scanned for attack points at some time.