Forum Discussion
Virtual Server to maintain the same destination port to the backend
- 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.
Additionally take a look at this article, it mentions two alternatives to using an iRule:
https://devcentral.f5.com/s/articles/Three-Ways-to-Specify-Multiple-Ports-on-a-Virtual-Server
Daniel thanks for your response
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com