Forum Discussion
PKX9_161380
Nimbostratus
Jun 19, 2014How to configure f5 smtp vip to show client IP
I have a smtp vip configured with autosnat, but requests show the floatingIP as the clientIP. How do i get this to show the real client IP
Cory_50405
Noctilucent
Jun 19, 2014You'd have to disable SNAT in order for the SMTP server on the backend to see the original client IP address. In order for this to happen, your SMTP server would need a route in place that forced return traffic to the client back through the LTM. For example, setting the default gateway on the SMTP server to the self IP address on the LTM. This may or may not be feasible depending on your environment.
- PKX9_161380Jun 19, 2014
Nimbostratus
And just to confirm, outbound smtp from the pool members will be seen as the smtp VIP or is it the floating IP of the loadbalancer? - Cory_50405Jun 19, 2014
Noctilucent
For the SMTP flows initiated by your SMTP servers, you will likely need to setup a separate forwarding virtual server. You can enable SNAT on the forwarding virtual server to ensure it leaves the LTM on whatever VIP you like by specifying a SNAT pool.
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