Forum Discussion
Brad_Parker
Sep 23, 2015Cirrus
Give this a try,
when CLIENT_ACCEPTED {
if {[TCP::local_port clientside] << 50000}{
pool pool1
}
else {
pool pool2
}
}
- Brad_ParkerSep 23, 2015Cirrusupdated to use TCP::local_port clientside as it is more appropriate.
- Misty_SpillersSep 23, 2015NimbostratusThank you for the quick response. If I wanted to look at source port instead, would I just change clientside to serverside? Sorry, the documentation I was given is confusing, want to make sure I could it either way. Thanks again!
- Brad_ParkerSep 23, 2015CirrusTCP::client_port would you give the clients source port. If you changed it to serverside, what you would have would be the source port of the LTM's connection to the backend server not the source port of the client's connection to the LTM.