I would like to block all the subdomain access to all non-North American IP addresses.
So i tried to enter the following rule in the firewall but it doesn’t seem to work:
(ip.geoip.continent ne “NA” and http.request.full_uri eq “https://subdomain.domain.com”) or (ip.geoip.continent ne “NA” and http.host eq “subdomain.domain.com”)
Ideally, I would like anyone outside North America who tries to access the subdomain to be redirected to the main domain. Does anyone have a recommendation?
For your information, I use the Cloudflare free version.
Thank you in advance !