Forum Discussion

THE_BLUE's avatar
THE_BLUE
Icon for Cirrostratus rankCirrostratus
Oct 07, 2021

Pool with Range of ports

I have VS which listen to port 443 and 80 , mapped to pool which listen to rang of port ex 1000 - 2000

in this case i have create pool with * services port ( any) and associated with i rule. Does the below correct?

TCP::local_port is the correct one? or not?

when CLIENT_ACCEPTED {

        if { [TCP::local_port] => 1000 and [TCP::local_port] <= 2000 } {

            return

        }

        else {

        reject

        }

    }

No RepliesBe the first to reply