Forum Discussion
https://host:portx F5 redirection to pool based on port
Hello,
I have to setup a https VIP with multiple pools for different ports. Based on the port selection, the pool should be chosen. Please let me know if this is possible.
User access :
- youssef1
Cumulonimbus
Hi Abirami,
You can try this irule:
when HTTP_REQUEST { switch -glob [TCP::remote_port] { "25" { pool pool_25 } "110" { pool pool_110 } default { pool pool_default } } }
I gave you an example with 2 différents ports you can add another if needed...
You have alos another solution, is to create one VS by Port (it will be more simple to manage an you don't need an Irule, more your monitoring will be more specific and simple).
Let me know if you need more details.
regards,
- Abirami_Sundara
Nimbostratus
Thank you. I configured multiple VS for different ports and mapped ssl profile. It works :)
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