Forum Discussion

veredgf's avatar
veredgf
Icon for Nimbostratus rankNimbostratus
Dec 26, 2021

Excluding google from geolocation with IRULE

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

  • 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.