Apply firewall rules to an HTTP load balancer

google-cloud-platform

I'd like to take advantage of the Google Cloud Platform HTTP(s) load balancer, but I need to restrict access to the load balancer to a specific block of IP's. Is it possible to apply firewall rules to a GCP HTTP(s) load balancer?

Best Answer

At the moment it is not possible to set firewall rules over the GCE Load Balancers. Nevertheless there is a feature request in place. Since the original source IP is re-written by the LB, you can use the X-Forwarded-For header to obtain the original client and filter it accordingly on your servers.

Related Topic