Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4747

Source IP in backend

$
0
0

@ravr wrote:

I’m using HAProxy to load balance client requests to two backend servers (TCP mode). The backend servers see incoming requests as coming from the HAProxy host (which is expected). I’m trying to configure the setup so that the backend servers receive the client IP rather than HAProxy’s IP.

Please let me know if I’ve understood correctly

  1. HAProxy can be configured to send the client’s IP using proxy protocol, but the backend server must support this protocol
  2. HAProxy can spoof the client’s IP to the backend, but the backend must have its default gateway as the HAProxy host

Given that the backend servers do not support proxy protocol, and default gateway cannot be set to the HAProxy host, is there any other way to achieve this?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4747

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>