X-forwarded-for with a load balancer?

Baptiste bedis9 at gmail.com
Wed Jun 22 07:32:23 CEST 2011


Hi,

What kind of LB do you use?

Usually, you can turn your load-balancer in transparent mode.
It will then present client IP to Varnish instead of using xff header.
In this mode, the varnish default gateway must be the LB.

Regards


2011/6/21 Harri Päiväniemi <harri.paivaniemi at tieto.com>:
> Hi,
>
> We have a varnish behind a load balancer that add's x-forwarded-for- gheader
> to give a client ip.
>
> How to get varnish to just forward that allready set header that it recieves
> from lb to backend instead that varnish is setting it again to lb-ip?
>
> Thanks.
>
> -hjp
>
>
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>




More information about the varnish-misc mailing list