I'm getting blocked by my firewall rule although I set it up to allow only from my country

I set up a firewall rule with this expression:

(http.request.full_uri eq "https://mywebsite.com/myloginpage/") or (http.request.full_uri eq "https://mywebsite.com/wp-login.php" and ip.geoip.country ne "PH")

…but I still get blocked even though CF correctly identifies my IP as originating from PH.

You most likely want that expression

(http.request.uri.path in {"/myloginpage/" "/wp-login.php"} and ip.geoip.country ne "PH")

Hi Sandro. Thanks for your reply.

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