Forum Discussion
john_waterworth
Nov 10, 2010Nimbostratus
smtp and snat automap
I have a node that needs to rely mail off an smtp server VS that is on the same submet. with snat automap it works and going direct to the nodes for the VS it work but with out snat autoamp it does no...
hooleylist
Nov 10, 2010Cirrostratus
Hi John,
You can enable SNAT for a single IP using a SNAT with the Origin set to the one client IP and a Translation of automap (or an explicit SNAT pool if you don't want to use a floating self IP). You could also use an iRule like this:
http://devcentral.f5.com/wiki/default.aspx/iRules/SelectiveSNAT.html
when LB_SELECTED {
if {[IP::addr "[IP::client_addr]/24" equals "[LB::server addr]/24"]} {
snat automap
}
}
Aaron
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