Hi.

You have 2 options:

First you may disable the sorce nat on your load balancing device.

Second you need to enable the x-forwarder-for option, you are just "preparing" 
the log to get that information, now you need to send it to the squids log.

I hope this helps.

 
Saludos

Ing. Alfonso Alejandro Reyes Jimenez
   Coordinador de Seguridad - SASI
E-mail: [email protected]
Telefono: 91507489
Movil: (044) 55 85 81 04 62

----- Mensaje original -----
De: Sekar Duraisamy [mailto:[email protected]]
Enviado: Saturday, December 17, 2011 07:45 AM
Para: [email protected] <[email protected]>
Asunto: [squid-users] Squid logs not showing original client IP

Hi,

My squid proxy is placed behind the LoadBalancer. So i can see only
the loadbalancer IP as a source IP in the squid logs.

I have configured the log format with %{X-Forwarded-For}>h . But in
this field shows "-" . Not showing original client IP.

How to configure the squid to find the original client IP in squid logs ?

Thanks,
Sekar

Reply via email to