Forum Discussion
nkroon1
Cirrus
Oct 02, 2020Redirect traffic to pools based on URI
Hello! So i'm running into some issues with trying to redirect traffic based on URI and I'm not sure if its my iRule or something else. I can see the traffic coming in, but in show connections it jus...
nkroon1
Cirrus
Oct 02, 2020So i was finally able to get it to work. Turns out, I had the wrong protocol. They weren't coming in on HTTP but just TCP. Ended up modifying the irule to include the following at the top and they are now correctly redirecting.
when CLIENT_ACCEPTED {
if {[TCP::local_port] eq 5672 }
{ node xx.xx.xx.xx:5672
HTTP::disable
}
}
After adding that, they are redirecting correctly now and were able to start up the software.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects