Misty_Spillers
Sep 23, 2015Nimbostratus
Need an iRule to choose pool by port.
First of all this isn't http traffic so I can't use the http profile. (I tried, doesn't work)
I basically need an iRule that says something like this. I'll just write in the parts I don't know the syntax for
when CLIENT_ACCEPTED {
if { if dst port less than 50000} {
pool Pool1
} else {
pool pool2
}
}
Can someone help me with the syntax for "if dst port less than 50000" part.
Just to put it in other words. When the client tries to connect with a port less than 50000 send to pool1 and everything else to pool2
Thanks in advance!
Misty