Forum Discussion
iaine
Jul 29, 2019Nacreous
Hi
You should be able to put all of the logic into the HTTP_REQUEST event, something like...
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "/restricted-uri" }{
if {not [IP::addr [IP::client_addr] equals 10.0.0.0/8]} {
drop
}
}
}
- CpetJul 29, 2019Altocumulus
Hi iaine,
Thanks for your prompt reply.
So you suggest to use http_request iRule and i will agree.
I must create 2 iRules regarding to allow 2 networks?