Forum Discussion
SMTP - SNAT - IP source
Hello,
I have an L4 SMTP Virtual Server and Proofpoint backend servers configured with SNAT.
The server team wants to retrieve the source IP address of the client (like X-Forwarded in HTTP)
, which is not possible with SNAT.
Is there a way to meet this requirement?
Thank you.
X-Forwarded-for is used for HTTP Virtual Servers that have SNAT.
If you have an L4 Virtual Server it would be better to not use SNAT if you want to see the client IP.
There is no easy way to get the client's IP. As far as I know, you might try to have the client IP sent in a TCP header but then your server needs to be able to get it from that header.
Proxy Protocol Initiator | DevCentral
Or you might try to insert it in the payload, but again your servers need a way to get it.
Then you could try to use npath routing
But probably the best thing to do is to not use SNAT in this case.
For http is easier because most applications understand the x-forward-for header.
Recent Discussions
Related Content
* 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