Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Clear all filters
Answers

iRule - 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!

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

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.

1
Comments on this Answer
Comment made 09-Oct-2017 by sysadmin_2015 256

Thank you of the help, that worked!

0
placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

Hope it helps

Please mark it as answer if it works

Regards

0