Forum Discussion

yuanqiang_22112's avatar
yuanqiang_22112
Icon for Nimbostratus rankNimbostratus
May 14, 2016

A large number of port mapping

Hello everyone I have a server needs to be mapped,the server ports range is " 9000-9999 ",I need add too many members for pool and configure Virtral Server . I think it's too hard to do this ,if you can think a good ideal to add these ports ?

 

  • Hello,

     

    You can build a VS and pool members that listen on any port.

     

    Then, you assign an irule to allow connection to the VS for tbe port range only.

     

    Or you can use the iControl API to deploy each pool, pool members and VS for each listening port

     

  • Hello,

     

    You can build a VS and pool members that listen on any port.

     

    Then, you assign an irule to allow connection to the VS for tbe port range only.

     

    Or you can use the iControl API to deploy each pool, pool members and VS for each listening port

     

  • Hello,

     

    You can build a VS and pool members that listen on any port.

     

    Then, you assign an irule to allow connection to the VS for tbe port range only.

     

    Or you can use the iControl API to deploy each pool, pool members and VS for each listening port

     

  • You can use an irule like the one below :

     

    when CLIENT_ACCEPTED { if { ! ([TCP::local_port] > 9000 and [TCP::local_port] < 9999) } { reject } }

     

  • You can use an irule like the one below :

     

    when CLIENT_ACCEPTED { if { ! ([TCP::local_port] > 9000 and [TCP::local_port] < 9999) } { reject } }

     

  • wit formatting

    when CLIENT_ACCEPTED { 
        if { ! ([TCP::local_port] > 9000 and [TCP::local_port] < 9999) } { 
            reject 
        }
    }