On Fri, Sep 23, 2011 at 11:53 PM, Jason J. W. Williams <[email protected]> wrote: > Hello, > > My understanding has been that HAProxy can be set up in conjunction > with TPROXY support in the Linux kernel so that the backend servers > see the original client's source IP address on incoming packets? > > So is the "option transparent" > (http://code.google.com/p/haproxy-docs/wiki/transparent) not related > to that type of transparent proxying or am I mistaken and there's no > way to make HAProxy preserve the original client IP on the way to the > backend servers? > > Thank you in advance. > > -J > >
Hi, You have to patch your kernel with TProxy and then to use the source keyword: http://code.google.com/p/haproxy-docs/wiki/source Note that the default gateway of your servers must be the HAProxy box in that kind of architecture. cheers

