Forum Discussion
Mark_Givens_877
Nimbostratus
Oct 14, 2005iRule help with ports and pools
I need to create an iRule that will redirect incoming connections for certain ports to specific pools. I'm not sure how to do it. I found an example for something similar for v.4. I need to do the ...
drteeth_127330
Oct 14, 2005Historic F5 Account
Yes, you can do it with an iRule. However, I'm going to recommend that you setup multiple vips. It's more efficient that way. The iRule would look something like this:
when CLIENT_ACCEPTED {
if {[TCP::local_port] == 4080} {
pool Pool1
} elseif {[TCP::local_port] == 5080} {
pool Pool2
} elseif {[TCP::local_port] == 9080} {
pool Pool3
}
}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