Block all Google Cloud IP

Hi, how can I block all Google Cloud IP addresses except bots?

Perhaps you can use the IP list here:
https://www.gstatic.com/ipranges/cloud.json

First, create a firewall rule to block these IP addresses.
Next, create a firewall rule to allow Known Bots. There’s an option for you to specify Known Bots - On in the firewall builder. This rule must be placed on top of the blocking rule.

1 Like