Hello,

proxy_bind directive allows to specify source IP address for proxied
connections.
This directive can be set to local IP address.

I'm wondering if there's a way to set $remote_addr as proxy_bind address?
Or any other non-local IP address?

The idea is to see original client source IP address at the server site.
While it's not http traffic I cannot use XFF header.

Destination MAC address in the response packet from the server is set to
nginx server interface address. So, there's no problem at layer 2
communication.

Can nginx listen for responses coming to non-local destination address?

Thanks in advance!

--
Vsevolod Petrov
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to