Basically what the title says. I cannot get Ahrefs to crawl my site for their SEO audit. This is the error that is returned to me on their site:
“The HTTP server returned error 403: “Forbidden”. This request was likely filtered by server configuration. This website is protected by the Cloudflare firewall”
I talked with their support and they confirmed Cloudflare was blocking their bots. I whitelisted their IP range in the firewall settings along with allowing their user agents, but I still get the 403 error from Ahrefs.
Any idea what’s going on here and how it can be fixed?
That won’t work since their IP ranges are in a CIDR format. The following should work:
(ip.src in {54.36.148.0/24 54.36.149.0/24 54.36.150.0/24 195.154.122.0/24 195.154.123.0/24 195.154.126.0/24 195.154.127.0/24})
But I think it would be better to create an IP access rule instead of wasting one of your firewall rules. You should be able to create 7 rules in total to whitelist all 7 of their IP ranges.