Forum Discussion
Colin_Walker_12
Mar 31, 2006Historic F5 Account
Well, it looks like you're using the IP::protocol command where you'd probably want to use something closer to TCP::client_port
The IP::protocol command doesn't return the port address of the transfer protocol you're using, it returns the actual value of the protocol field.
There's a decent list of them here: Click here
So, you'd want to change your two FTP rules to look more like:
when CLIENT_ACCEPTED {
if { [TCP::client_port] == 21 } {
node 192.168.250.128
} else {
pool cyclonetest
}
}
And:
when CLIENT_ACCEPTED {
if { [TCP::client_port] == 21 } {
node 192.168.250.144
} else {
pool cycloneprod
}
}
HTH,
-Colin