Forum Discussion
Filip_Verlaeckt
Aug 09, 2007Historic F5 Account
"FOR" statement
Hi
I want to lookup the source ip of a connection in a list and then forward the connection to the corresponding address in that list.
Something like:
LIST
Sour...
hoolio
Cirrostratus
Aug 09, 2007Hi Filip,
You can create a datagroup (also known as a class in the config files) and then use the findclass command (Click here) to search the class for the source IP and return the destination IP. You could then use the pool or node command to set the destination IP.
You can create a datagroup in the GUI under Local Traffic >> iRules >> Datagroup tab. You can check the wiki page or search for findclass to get some examples.
Aaron
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