I am crashing out rn (IP rules not blocking my own IP)
I’m having a strange issue where Cloudflare’s security rules doesnt block the countries I tell it to block, it even can’t block my own IP, even with a very simple rule.
Sometimes (only two times out of hundreds) Requests from some countries (e.g. Ghana) are being blocked correctly by my rule country IP Block
Rules I tried (none of these block me):
Country rule
Rule name: Geography-based rule
Expression: (ip.src.country eq "SI")
Action: Block
Order: 1
Status: Active
Events last 24h: 0
I can still access the site normally from Slovenia.
Exact IP rule
Condition: ip.src eq 146.212.103.135
Action: Block
Put this rule at the very top of the list.
Still not blocked, and no events appear for my IP in Security Analytics.
I also checked:
No IP Access Rule “Allow” for my IP / country.
No Page Rules that disable security
I can provide screenshots.
Please help I am going nuts.
Thanks in advance for any ideas
Sometimes (only two times out of hundreds) Requests from some countries (e.g. Ghana) are being blocked correctly by my rule country IP Block
Rules I tried (none of these block me):
Country rule
Rule name: Geography-based rule
Expression: (ip.src.country eq "SI")
Action: Block
Order: 1
Status: Active
Events last 24h: 0
I can still access the site normally from Slovenia.
Exact IP rule
Condition: ip.src eq 146.212.103.135
Action: Block
Put this rule at the very top of the list.
Still not blocked, and no events appear for my IP in Security Analytics.
I also checked:
No IP Access Rule “Allow” for my IP / country.
No Page Rules that disable security
I can provide screenshots.
Please help I am going nuts.
Thanks in advance for any ideas
