I have been using Cloudflare to manage my domain and it’s working great!
I have a subdomain redirecting to IPFS (followed this documentation: https://developers.cloudflare.com/distributed-web/ipfs-gateway), and again it’s working perfectly
Now, I want to block a few countries from accessing my app. Obviously, users will be able to access the app from the IPFS endpoint (and that’s ok), but, due to legal concerns, I want it to be blocked if they try to access it from the main URL.
I tried to setup a rule in the firewall but unfortunately it doesnt seem to work. After a bit of research, I think it is not working because the IPFS DNS record cannot be proxied, as I’m using
cloudflare-ipfs.com as a target.
Here is screenshot of the rule.
I just changed the subdomain, but obviously I’m using the correct one