Forum Discussion
Jace_45978
Aug 12, 2011Nimbostratus
F5 iRule to reject/allow outbound access based on URI, DNS
because we have a FW that allows access outbound based on IP only, wondering if there is a way in the F5 to allow outbound access or reject access based on URI or DNS lookups.
example:
webse...
Colin_Walker_12
Aug 12, 2011Historic F5 Account
Yes, you can certainly do this as long as your webservers are routing through the BIG-IP. This would just require a simple iRule on whatever internal VIP the servers are routing through to inspect the HTTP request and deny based on host.
Something like:
when HTTP_REQUEST {
if {[HTTP::host] ne "www.yahoo.com" } {
reject
}
}
Obviously that's very simple, but that's the basic idea.
Colin
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