How can I block traffic from geographic areas?


Blocking traffic from a specific countries/groups of countries. The only other post says this can be done with the free version. When I attempt that solution, the error is, :Sorry, block by country is only available on the Enterprise plan (Code: 10016)"

I have one web site. I only sell to one country. Yet the price for accessing this feature is so high, it’s not even shown in the pricing guide.


It is correct that blocking countries is only available for enterprise accounts.

If you really want only one/a few countries having access to your site, you may want to code this into your application. Cloudflare sends a country code header with every request, so it should be fairly easy to do.


This topic was automatically closed after 31 days. New replies are no longer allowed.