Restricted GEO


#1

Hi i want to know how i can restrict access to my site from certain country (For example Ukraine), but from few IPs allow this access.

For example if person get in to my site form Ukraine he will see only 403 page
And 5-10 Ukranian IP can get access to site.


#2

Cloudflares firewall doesn’t allow you to block access by country unless you are signed up for an enterprise plan.

You can however block countries by writing a service worker that intercepts the traffic. Or alternatively, block it at the origin.


#3

Would you give me more details. I have a professional plan and in this plan i have GEO blocking for 3 countries.


#4

Where did you configure that?

Are you sure you it is a block, and not a (javascript) challenge?


#5

I think its right here:

http://joxi.ru/EA4jolPtw99d9m
http://joxi.ru/GrqxpR4UQOO1QA


#6

That is for setting up a custom country and IP block page - because you do not have Enterprise, that page will only show up for blocked IP addresses.

If you just want to block some IPs -