cancel
Showing results for 
Search instead for 
Did you mean: 

Excluding google from geolocation with IRULE

veredgf
Nimbostratus
Nimbostratus

Hi,

 

I am interested in an irule that will exclude google IPs from geolocation blocking. Since Google's IP list is dynamic, I need a way to take this list and turn it into a data group on a regular basis. The list is here: https://developers.google.com/search/apis/ipranges/googlebot.json

 

And the ranges are here: https://www.gstatic.com/ipranges/goog.json

 

Any ideas? Anybody done this already?

 

Thanks,

 

Vered

1 REPLY 1

JRahm
Community Manager
Community Manager

Are you using ASM policy whitelisting for this? If so, you could write a script to pull that data down from google, process it and build and send iControl REST requests to update your policy whitelists. See my example here on a similar AWS ip space ask.