Forum Discussion
Steele6599_8766
Nimbostratus
Mar 25, 2014SMTP load balancing with Exchange 2010
So I setup the load balancing on our F5 but now have an issue with the receive connectors.. in the past we had different receive connectors on our Hub Transport for different external users. Depend...
Dayne_Miller_19
Mar 25, 2014Historic F5 Account
You could take Cory's suggestion one step further and, rather than using SNAT Auto Map, have an iRule pick a SNAT address to use depending on the original source. That would allow you to still have multiple receive connectors based on origin, with a different SNAT address for each origin subnet (or however you do the segregation). If you want an example of such an iRule, let me know and I'll post something.
Dayne_Miller_19
Jun 30, 2014Historic F5 Account
As luck would have it, there's a pretty good example here: https://devcentral.f5.com/s/feed/0D51T00006i7WdGSAU (bottom of the thread). The SERVER_CONNECTED portion would be optional in your case; it's just for logging.
If you're matching against networks rather than specific IP addresses, the 'Selective SNAT' iRule example at https://clouddocs.f5.com/api/irules/selectivesnat.html shows how to use a data group to set up one or more network definitions to match against.
Keep in mind that SNATing done from an iRule will override whatever the SNAT behavior that's set on the virtual server.
Let us know how those work for you!
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
