Forum Discussion
Cleiton_Lobo_de
Nimbostratus
Sep 20, 2019Allow access to a specific internet URL
I need help creating a policy or Irule: How to allow access to a specific URL from internet https://abc.domain.com/marketplace-app/#/ And allow all other URLs for internal network o...
youssef1
Cumulonimbus
Sep 20, 2019Hi,
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
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
