Forum Discussion
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
}
}