Forum Discussion
Redirecting TCP/HTTP traffic using single virtual server
Hi All,
Is it possible redirect the connections based on the type of incoming traffic to virtual using iRules? I have a requirement to redirect connections to tcp pool for a tcp traffic and http pool for http traffic using only one virtual server. Please let me know if this is possible.
Thanks
- WithF5
Nimbostratus
Yes, it is possible use iRules, but I suggest you use Policy instead. Have a look in this post and try to do it. https://devcentral.f5.com/questions/creating-a-redirect-with-local-traffic-policies-v114
- Chris_Grant
Employee
I would point out that HTTP is a type of TCP traffic. You will need to either place this on a wildcard virtual server, or be in the unusual position of expecting non HTTP traffic on an HTTP port. You can read about traffic policies here:
https://support.f5.com/csp/article/K04597703
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