How-to

When a Firewall or CDN Blocks AI Crawlers

Robin Künnecke

Published:

November 2, 2026

•

Reading time

4

min.

In short

Firewalls, CDNs or bot protection often block AI crawlers even though robots.txt allows them. Find the cause and allow access in a targeted way.

Key takeaways

  • The robots.txt is not the only block, bot protection and firewall decide too.
  • Google explicitly names CDN and hosting as places where crawling must be allowed.
  • You recognize real crawlers by user agent and published IP ranges.
  • Allow access selectively instead of switching off bot protection altogether.

The robots.txt is clean, yet AI crawlers do not show up in the logs. A common cause: a protection layer in front. This how-to shows how to find and fix it.

Why do protection systems block crawlers?

Bot protection is meant to fend off scrapers, spam and attacks. Many systems treat automated access as suspicious across the board and answer with a block or a challenge. A crawler cannot solve this and gives up. In its documentation on AI features, Google points out that crawling must be allowed not only in robots.txt but also by CDN and hosting (Google Search Central).

How do you recognize the problem?

  • In the server logs, requests from known crawlers are missing entirely.
  • In the log of the firewall or CDN, they show up with a block or challenge.
  • Status codes such as 403 or 429 pile up for bot user agents.
  • The URL inspection in Search Console reports fetch errors.

How to proceed

  1. Check the robots.txt to rule it out as the cause.
  2. Open the events of your firewall, CDN or host and filter for bot requests.
  3. Identify the desired crawlers by user agent, such as OAI-SearchBot, Claude-SearchBot or PerplexityBot.
  4. Compare the IP addresses with the ranges published by the providers. OpenAI and Perplexity link them in their documentation, Anthropic names a list in its help article.
  5. Create a targeted exception that combines user agent and IP range.
  6. After a few days, check whether the requests arrive.

What should you watch out for?

  • Never allow by user agent alone. It is easy to fake.
  • IP ranges change. Use lists that the provider maintains, or features of your CDN for verified bots.
  • User agents such as ChatGPT-User or Perplexity-User behave differently from search crawlers. Check them separately.
  • Rate limits can slow down large crawls. Do not answer with 403 or 404 if you only want to throttle.

How does Reach OS help?

Reach OS sets crawler permissions at the edge and logs every request from known AI crawlers in the crawler log. That way you see whether permissions arrive. Further causes are described in 5 robots.txt Mistakes for AI Crawlers.

Frequently asked questions

Should I switch off bot protection?

No. Create targeted exceptions for verified crawlers and leave the protection active for everything else.

How do I find the IP ranges?

In the providers' crawler documentation. OpenAI, Perplexity and Anthropic point to their lists there.

Does this also affect Google?

Yes. Google points out that CDN and hosting must allow crawling.

Related posts

Keep reading. More on this topic.

No items found.