Re: preserve client source address when proxying to upstream

Thanks for pointing me in the right direction, Maxim!

I’ve found a number of posts where people are discussing nginx acting as
listener at for outbound traffic, making able the system to
review every outgoing packet. In this way nginx can act as transparent
proxy that do not perform destination address translation.

What I’m asking for is a special handling for inbound packets. I still
nginx to perform destination address translation, but I need to keep
original source address in the packet.

As far as I understood, both scenarios relies on using
on Linux as you mentioned previously.
While there’s no complete solution at the moment, I think that it’s
idea to add such functions in the future, at least in commercial version
nginx. From the other side, positioning nginx as ADC solution requires
give administrators more control over applications delivery and
source/destination addresses/ports are just necessary options.

Vsevolod Petrov

2015-12-16 19:56 GMT+03:00 Maxim D. [email protected]: