How to block a country

You can block traffic from any country you want to prevent accessing your website. This could be if you get a lot of spam or automated hack attempts.

To block a country is easy, go to the Firewall tab and scroll down to the “Block visits from these countries”.

You can enter a search term to filter the list of countries or you can scroll down and choose as many as you wish.

To remove a country from the list, click the little x next to the name.

Each visitor IP is compared to the GeoLite2 Free Downloadable Database by MaxMind and if the IP matches any of the countries you the visitor will be blocked. You can also redirect a blocked visitor to another URL.

This product includes GeoLite2 data created by MaxMind, available from
https://www.maxmind.com.

Was this article helpful to you? Yes No

How can we help?