Forum Discussion
zpf_eccom
Nimbostratus
Mar 13, 2016How smtp server record client source ip address
I have a smtp server (linux operations system), i want record(log) client source ip address , but you know , F5 execute auto-map transform client source ip add to internal ip address and server will ...
Youssef_Ghorbal
Cirrus
Mar 14, 2016To get the client IP address, you have two choices :
- Disable SNAT alltogether. The BigIP needs to be your email server default gateway. In this configuration, the BigIP simply routes back and forth the SMTP traffic, do what it has to do in the middle, but the SMTP server sees the client IP.
- Make your email server support the PROXY protocol, and play around with iRules to make it work on the BigIP:
Proxy Protocol : http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt
Example iRule for the BigIP side : https://devcentral.f5.com/s/articles/proxy-protocol-initiator
Postfix for instance support the Proxy Protocol.
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