Jump to content

Help I need to block a whole country IP addresses from my website.


Go to solution Solved by Makoto,

Recommended Posts

  • Solution

Cloudflare, for example, makes this very easy to do.

Just go Security, then WAF, and from there you can set up a rule to block an entire country code from accessing your server.

image.thumb.png.9215e3b312a467c2160c16624789d188.png

 

Just be sure you've carefully considered the implications, and you are certain you really want to do this.

(You can also block TOR exit relays via the country code firewall rule)

Edited by Makoto
Link to comment
Share on other sites

As mentioned, you can only really do this at a server level. There is nothing within the software itself that would allow you to do this. If you are unsure, you would need to contact your hosting company for assistance.

You Could have course block IPs using the ban settings, but that will not stop them getting to your server in the first place. It will simply stop them registering

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...