Forum Discussion

cort_17498's avatar
cort_17498
Icon for Nimbostratus rankNimbostratus
Jan 19, 2009

Redirect port to a different Pool

I'm pretty new to the F5 world.... be gentle.

 

 

For the life of me I cannot get this rule to work:

 

when CLIENT_ACCEPTED {

 

set port [TCP::local_port]

 

if { $port equals "23" } {

 

pool "PORT-23"

 

if { $port equals "22" } {

 

pool "PORT-22"

 

}

 

}

 

}

 

 

It will only go to the first port defined in the rule. Any help is appreciated.