Help with Firewall User Agents

Hello, I have a Pro account and am trying to allow only the following user-agents, if not, captcha:

(http.user_agent ne “Mozilla/5.0+(compatible; UptimeRobot/2.0;”) or (http.user_agent ne “Mozilla/5.0 (compatible; Google-Cloud-Functions/2.1; +”) or (http.user_agent ne “Mozilla/5.0 (compatible; Cloudflare-AlwaysOnline/1.0; + AppleWebKit/534.34”) or (http.user_agent ne “OpenAuth”)

However, ‘not equal’ or ‘does not contain’ still results in everything being blocked?


If that’s a captcha rule, then, yes that’s going to captcha everybody:

That rule says: If it’s NOT UptimeRobot OR it’s NOT Google Cloud, then block. So…Uptime Robot is NOT Google Cloud, so it’s going to be blocked. Google Cloud is NOT Uptime Robot, so it’s going to be captcha’d.

You probably want to AND those instead of OR. So if someone isn’t this AND they’re NOT that, AND NOT that, then captcha them.


Ahhh ok that makes a lot of sense and fixed it. Thank you so much @sdayman!

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.