Forum Discussion
Big-IP - iRule Redirect
Hello,
We have configured a ipsec tunnel that routes traffic from a third party company to one of our Big-IP virtual servers(listening on 3306). What we want to do is put a tcp iRule on that VS that then routes traffic to our AWS RDS MySQL instance on 3306. Can someone please help with this?
Thank you for your help!
- Samir_Jha_52506
Noctilucent
Can you plz put some examples. So that we can make iRule...'AWS RDS MySQL' is web based instance?
- sysadmin_2015_2
Nimbostratus
sorry,
Currently the tunnel routes to our Big-IP VS(10.180.1.1) on 3306 and we would like to put an irule redirect on that VS that then sends all traffic to our AWS RDS MySQL instance test.rds.amazonaws.com:3306. test.rds.amazonaws.com:3306 is on our VPC and is only accessible on our internal network.
Thank you,
- Pedro_HaoaRet. Employee
Hi,
You can't redirect traffic with TCP like you do with HTTP.
But you can associate to your VS Performance (Layer 4) a Pool with a Pool Member test.rds.amazonaws.com:3306 in order to send SQL traffic to your Amazon destination. Don't forget your routing. Use SNAT if it's necessary.
You can check the following post in order to see more information.
https://devcentral.f5.com/questions/redirect-tcp-connection-based-on-hostname
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