Forward client IP address

Thilo Bangert tb-lists at
Thu Feb 21 11:55:30 CET 2008

On Thursday 21 February 2008 11:39:30 Fredrik Nygren wrote:
> Hi,
> I'm running Varnish 1.1.2 with Apache at the backend. When I follow
> Apaches access logs all incoming clients have the same IP-number, the
> IP-number of my Varnish server of course. How do I forward the IP-
> number of an incoming request from Varnish to Apaches access logs? Is
> it possible?

the originating IP address will be forwarded by varnish to you backend in the 
X-Forward-for header.
search the archives and the net for X-Forward-for and you find (among others)

> Regards
> </Fredrik>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at

More information about the varnish-misc mailing list