Forum Discussion
iaine
Jul 29, 2019Nacreous
Hi
No, just combine the networks with a logical OR.
If the number of networks starts to get too unwieldy or you want to edit the networks regularly then you could use a Data Group to do a lookup
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "/restricted-uri" }{
if { not ( [IP::addr [IP::client_addr] equals 192.168.0.0/16]) || ( [IP::addr [IP::client_addr] equals 10.0.0.0/8])} {
drop
}
}
}