How to send Cloudflare bad IPs so that it doesn't allow them through the proxy

Hi,

Before using Cloudflare’s proxy I was blocking IPs through iptables. How can I send Cloudflare those IPs so that it doesn’t allow that traffic ?

Set up custom WAF rules or IP access rules. See here for a guide…

1 Like

I knew about this but isn’t there some other way without human intervention? By an API? I used to run iptables command directly.

You can use the Cloudflare API to add or adjust WAF rules, or add items to a list that’s referenced by a rule…

1 Like

I see. Thanks