Forum Discussion
markn11_229516
Nimbostratus
Feb 12, 2016Prevent open mail relay
We're currently running F5 LTM (11.6) for our Exchange 2013 environment. We have Source Address Translation set to Automap.
We have servers set to point to the VIP, and we are allowing the Self-IP on...
markn11_229516
Nimbostratus
Feb 15, 2016I tried to copy and paste the code you sent, but my F5 didn't like it. Not sure if I'm not running the right code.
I was able to get it to work by using this as an iRule. It works if I use client_addr or remote_addr. Not sure if one is preferred over the other. Do you think this is acceptable?
when CLIENT_ACCEPTED { set accepted_snat "10.10.10.100"
if { [ class exists SMTP_EXCHANGE_SERVERS ] } { if { [class match [IP::client_addr] equals SMTP_EXCHANGE_SERVERS] } { snat $accepted_snat } else { snat automap } } else { snat automap } }
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