Forum Discussion

Arunkumar_6451's avatar
Arunkumar_6451
Icon for Nimbostratus rankNimbostratus
Mar 13, 2014

Using an iRule to specify a range of allowed ports for a virtual server

I have tried the below iRule to specify a range of allowed ports for a VIP, but it not working. Please adivce excat one. thanks!

 

when CLIENT_ACCEPTED { if {([TCP::local_port] >= 1024) && ([TCP::local_port] <= 65535) } { pool YYYYYYYYY } else reject }