Forum Discussion
youssef1
Sep 20, 2019Cumulonimbus
Hi,
try this irule.
You can also use DG for Internal source IP and URL...
when CLIENT_ACCEPTED {
set internal 0
# check if user come from internal network
if {not [IP::addr [IP::client_addr] equals 10.0.0.0/8]} {
set internal 1
}
}
when HTTP_REQUEST {
if {$internal} {
# allow all. access from internela network
} else {
if { !([string tolower [HTTP::uri]] starts_with "/marketplace-app/#/") }{
# allow only access to marketplace url from internal
drop
}
}
}
regards