Trusted companies, or some such setting

It would be wonderful if you could include some kind of “trusted service providers” or something that could be added to over time, so we could just select the service providers we use. It’s annoying having to whitelist a gazillion IPs just to get Cloudflare to play nice with various services like Wordfence, ManageWP, Sucuri, WPMUDEV, etc., especially since there doesn’t seem to be a way to bulk upload IPs to whitelist. Plus, it seems like you’d be able to do a better job of making sure the traffic, headers, etc., were all accurate to the trusted provider than just a blanket IP whitelist anyway, because whitelisting them seems like it’s now putting me at risk of IP spoofing issues and things like that.

Pease consider.

If using Wordfence plugin, there is an option within the settings of it, one click:

In the Wordfence options you have to select and choose “ CF-Connecting-IP ” option (Use the Cloudflare “CF-Connecting-IP”), do not forget to save to apply the changes.

Use the Cloudflare “CF-Connecting-IP” HTTP header to get a visitor IP. Only use if you’re using Cloudflare.

Wordfence is fully compatible with Cloudflare, and in some configurations, Cloudflare will send the real visitor IP address to your web server using the CF-Connecting-IP HTTP header. If Cloudflare support personnel have advised you that this is the case, then enable this option in Wordfence.

Note that Cloudflare has several configurations including their own web server module that takes care of detecting the visitor IP address, so be sure to work with their technical support staff and read their documentation to determine which configuration you are using.

We can create a List under a Cloudflare Account and use it in a Firewall Rule for example.

I am afraid this is the same when using some other proxy, for example JavaPipe service (proxy/forwarding) also indicates to allowlist their IPs.

Other solutions offer to copy-paste the IPs, so no need to manually enter IPs into Firewall Rules for example.

I am not familiar with this behaviour.

Agree, nice idea! :slight_smile:

Thanks for the reply.

I do use the Wordfence setting but it doesn’t work for things like Wordfence Central. Basically anything that connects to the site to create backups, run scans, etc., currently needs to be manually whitelisted, unless I’m missing something.

I do have the whitelisted IPs set for my whole account, but I can’t export them and upload them to a client’s account for example, and even if I copy/paste I can still only add one at a time.

Would be so much more efficient if Cloudflare could support popular services in this way!

1 Like

Just in case, may I ask if you have tried using is in operator in your Firewall Rule and clicking on the link “Edit expression”?
It should work with copy-pasting 123.123.45.67 99.88.77.66 directly into the textarea field or like having each IP added in a new line.
Upon copy-pasted, click back on the “Use expression builder” and it should be added there.

See the example from below:

Maybe there is an easier way using the Cloudflare API.

Thanks for the reply, I’ll look into it but I meant Firewall > Tools, not Firewall > Rules.

Also I finally ran across this part of the Cloudflare docs that say a trusted bot can apply to be added to the allow list, so I’ll pass that on to the companies I work with as that’s basically what I had in mind.