Whitelist google IPs for Under Attack Mode - skip challenge for Googlebot/crawlers

What is the name of the domain?

What is the issue you’re encountering

I need to allowlist all google IPs for google adsense (also in under attack mode)

What steps have you taken to resolve the issue?

Hey,
google provides list of IPs of their bots and crawlers:

for example list of special crawlers like AdsBot is available here:
https://developers.google.com/search/apis/ipranges/special-crawlers.json
I need to allowlist all google IPs for google adsense (also in under Cloudflare attack mode)
so it will skip challenges and won’t block them.
Can I use “Known Bots” from (Security → WAF → Custom Rules → skip) ?
Or do we need to provide all IPs manually?

Screenshot of the error

I’m pretty sure that Under Attack Mode takes precedence over rules so you cant do this

Under Attack Mode is designed to be a short term measure while you sort things out, not a permanent setting

Thanks, @paul32, for a comment, but I know (already tested) that even when “Under Attack Mode” is enabled, I still can bypass it with specific conditions (IPs, query parameters, etc.).
I would like to know if under “Known Bots” there are IPs of Google bots and crawlers.

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