Blocking incoming from country and allowing known bots

Hello
I would like to block the incoming traffic from some countries but still allowing the known bots
will this work?
(ip.geoip.country in {"US" "GB" "IE" "AT" "CA" "CN" "RU" "JP"} and not cf.client.bot)

I asked a similar question the other day

2 Likes

As far as I have tested, yes.

1 Like

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