Chris_18457
Aug 08, 2012Cirrus
Outbound iRule, BigIP default GW
First post and still pretty new to iRules, but I've found lots of good information here that has helped me get our LTM up and running so far. I've done a number of searches, but haven't found the situation I'm in. Here goes...
I'm working on an iRule to take unencrypted SMTP traffic, pass it through the LTM, have the LTM establish the TLS tunnel (offload SSL to the LTM) on its way to the Internet destination. I've built an iRule based off of https://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/50/aft/2161044/showtab/groupforums/Default.aspx.
In my setup, the LTM is the default gateway for the SMTP server to transmit to the Internet. I've created a SNAT to translate RFC1918 IPs to public Internet addresses, and that works great. My question is, how can I apply an iRule without creating a virtual server? And if I create a virtual server does this mean the default gateway for this server has to change?
Let me know if I am taking the right approach.
Chris