Newish to Cloudflare. Really enjoying the technology.
I have a public facing website that has (in the past) been hammered by various bots, bad agents, etc. Moving to cloudflare has reduced my attacks by 90%. However there is 10% that gets through and makes my life ■■■■.
What would be the way to create rules to allow good bots and JS challenge everyone else? This would allow indexing by google, bing etc and stop everything except human traffic.
If I wished to block an entire country (ie: Russia), would I create a rule above or below the rule you mention? Is the order of the rules hierarchical or are the actions in a hierarchical or both?
Example:
Rule 1: Allow an country
Rule 2: Block that same country
Ok, thanks for clarifying. So if I place a country block as Rule 1, and then an ‘allow good bots’ as rule 2, the good bots from the country in Rule 1 will be blocked, since Rule 1 has a higher priority.