F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

Umesh_Shetty's avatar
Umesh_Shetty
Icon for Altostratus rankAltostratus
Jul 20, 2021
Solved

Virtual Server to maintain the same destination port to the backend

I have a requirement where have 4 backend server listening or port range 1603-1699 i.e. a total of 96 ports. The requirement is that the Virtual server should listen on the same ports and when the V...
  • spalande's avatar
    Jul 20, 2021

    - You can also keep port translation enabled if traffic destined on VIP port should be sent to same port on the pool member. This should work.

    - You would need VIP defined on any port. Configure iRule​ to only allow specific range and discard traffic for other ports.

    Please modify accordingly for start and end port range​

    when CLIENT_ACCEPTED {    
        if {([TCP::local_port] >= <start port>  && [TCP::local_port] <= <end port> ) } {
           return   )
        else reject
    }

    ​- define pool with all 4 members and any port.