Forum Discussion
Vils_96460
Nimbostratus
Sep 24, 2008irule to forward based on domain-name
I am trying to create an iRule that will only allow my webfarm to go out the internet based on destination domains.
Similar implementations exist for the popular linux proxy called squi...
Nicolas_Menant
Employee
Sep 25, 2008Hi,
you can try to use: NAME::lookup to translate the IP requested by the user in the domain name and then do a matchclass to check if it is part of the allow domain (Click here).
The problem with NAME command is that it doesn't stop processing traffic until the name resolution is done, so you'll need to do it yourself using TCP::collect and TCP::release.
If i remember you'll need to do some specific configuration to make the lookup work :Click here
HTH
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