Forum Discussion
sysadmin_2015_2
Nimbostratus
Oct 03, 2017iRule - Routing all traffic
Hello,
We would like to create an iRule that routes all traffic that comes in on a virtual server listening on 3306 and redirect it to a cname record of an AWS RDS instance "test.rds.amazonaws.com:3306". Can someone please provide an example of how we might be able to do this?
Thank you for the help!
2 Replies
- Faruk_AYDIN
Altostratus
Hi Guy,
if you are using big-ip version 12 or later, you don't need an iRule.
1. Set DNS in your F5
2. Create FQDN(test.rds.amazonaws.com) Nodes
3. Create a pool containing the Nodes you created above and set the port 3306
4. Create a virtual server with snat autonat, and add the pool.That is it. More info is here.
- Faruk_AYDIN
Altostratus
Hope it helps
Please mark it as answer if it works
Regards
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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