Forum Discussion
Brian_Kenworthy
Nimbostratus
Oct 22, 2012Allow Access to URL from Inside but Not From Internet
Hi All,
What is the best way to allow access to a URL from the inside network, but not from the public Internet? I have this irule, but when I apply it to the virtual server, all traffic is imp...
Brian_Kenworthy
Nimbostratus
Oct 22, 2012Oops, here is the code 🙂
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::path]] {
"/proxyservice*" {
log local0. "[IP::client_addr]:[TCP::client_port]: Dropping request to [HTTP::uri]"
HTTP::respond 200 content "Forbidden
Website Error: Forbidden
Your information has been logged.
"
}
default {
pool www.domain.com_HTTP
}
}
}
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
