Inquiry in adding Cloudflare firewall in GCP LoadBalancer

I have a question regarding some requests that are direct in our GCP Load Balancer public IP, and we want to add IP FILTERING so that the LoadBalancer will only accept the request/connection from Cloudflare IP Range. I found some custom rules in Google armor that can do the job but the concern is we already have Cloudflare that handles our WAF security. Is there any way we can configure Cloudflare for our load balancer rather than the cloud armor?

Thank You.

You wouldn’t be able to do this in Cloudflare’s WAF since, well, Cloudflare has no part in what your load balancer accepts.

You can setup a scheduled task to fetch the text lists on or if there’s a custom rule someone has made to already do that, use that.

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