WAF Deny rule for specific IP's

Hi Team,

For example, If the client request IP’s are 0.0.0.0 or 1.1.1.1 and then I need to add below rule in Firewall.
Could you please share example page rule?

If Source IP = 0.0.0.0, 1.1.1.1
htps://www.example.com/root/* - Block
htps://www.example.com/root/test1.page - Allow
htps://www.example.com/root/defaule/ - Allow
htps://www.example.com/root/test/* - Allow

Are you saying that you want to block two IP addresses from accessing anything but those three other paths? But other IP addresses get full access?

I would create two rules in order

ALLOW (http.request.uri.path in {"/root/test1.page" “/root/defaule/”} or http.request.uri.path contains “/root/test/”) and ip.src in {0.0.0.0 1.1.1.1}

BLOCK (ip.src in {0.0.0.0 1.1.1.1})

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