Forum Discussion

Aneesh_138725's avatar
Aneesh_138725
Icon for Nimbostratus rankNimbostratus
Jul 22, 2015

How to create pool with range of port number eg: 33001-33100

I have requirement to create VIP range 33001-33100 which redirect to back-end server range 33001-33100.

 

I found below irule which can map with VIP port restriction. But not sure how to create pools.

 

when CLIENT_ACCEPTED { if {([TCP::local_port] >= 33001 ) && ([TCP::local_port] <= 33100) { pool Pool_name ===> } else reject }

 

1 Reply

  • Create the pool members with the port set to 0, in the same way that you create the Virtual Server with the port set to 0.