Restricting public access

I have a domain which is in cloduflare zone, how can i set a firewall rule in such a way that only request from a specific url will give access and rest all will be denied.

What is the problem you are trying to solve with this Firewall Rule? Do you want to block requests with an unknown Referer header?

Yes, This is exactly what i want to do.

I have a reverse proxy setup that proxy a Cloudflare domain as origin. and i dont want someone to access the origin domain directly other than through proxied domain.

That’s not something you can do with Cloudflare’s WAF. You’ll have to create a firewall rule on your origin server that blocks connections not coming from Cloudflare IPs.

Okay got it will do this.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.