Lock down site to all IPs but CF

Hi,

I want to lock down site to restrict all IP’s but the CF IP ranges, this is to prevent direct access to origin. What is the best way to do this? After initial research it appears to be “zone” rules, but wanted to be sure.

Thanks,
Brian

This needs to bei done on your origin with iptables, ufw, Windows firewall etc.

Whitelist this ranges and block all other:

2 Likes

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