how can I block every country with a firewall rule except the Netherlands (in my case)?
but ONLY for my subdomains…?
so my root domain should remain accessible for everyone in the world (e.q. domain.com)
but sub.domain.com + sub1.domain.com etc… needs to be blocked from every country except the Netherlands.
is there a way to use a wildcard? (*)
I have just tested Eric’s rule on my own domain and it works as expected, make sure you don’t have another Firewall rule that is allowing them through, and ofcourse make sure that you replace domain.com with your own domain
So it works if you’ve got 1 subdomain right? But i have like 86 subdomains which i want to block.
So is there a way to block all countries for all of my subdomains by using a wildcard for instance?
except the rootdomain and the Netherlands
@johnboesh the firewall expression that I shared earlier will do the same thing, so we don’t have to go through the hassle of using regular expressions to match wildcard subdomains.
Anyway, try to visit your website with the proxy again, by adding this URL path: /cdn-cgi/trace. It would be something like this for example: www.cloudflare.com/cdn-cgi/trace.