Forum Discussion

Caio_Alves_3559's avatar
Caio_Alves_3559
Icon for Nimbostratus rankNimbostratus
Jul 26, 2018

Irule of rediect between virtual server and pool.

Hello, I need to create an irule in which I redirect the virtual server port (say working on port 443) to a range of ports in the pool (say from 5000 to 5050) how do I make an irule to do this port redirection?

 

3 Replies

  • I'm not clear on what your question is actually asking. The virtual server port and pool member ports don't need to match for load balancing to function, the destination address and port are translated from the virtual server address and service port to the pool member address and service port by default.

     

  • Hi Rob, i need that virtual server delivery packets in specifics ports, exemple: the virtual serve receive packets in port 443 but, i need that pool receive the packts between ports 5000 and 6000.

     

  • You don't need redirection to get traffic that arrives on a :443 virtual server to be translated to some other port when load balanced. Port translation, like destination address translation, happens by default.

     

    You can have a virtual server listening on some address x.x.x.x:443 load balance to a pool with members { y.y.y.1:5000 y.y.y.2:5001 y.y.y.3:5002 } without doing anything special.