[squid-users] Cache_peer and follow_x_forwarded_for

From: Rafael Gomes <rafaelgomes_at_techfree.com.br>
Date: Mon, 25 Feb 2013 10:57:43 -0300

I wanna get the real ip of client.

I have a server1 (10.2.3.20) with this option:

cache_peer 10.2.3.21 parent 8080 3130 round-robin name=squidpeer1
never_direct allow all
miss_access allow all

Server2 (10.2.3.21) has this option

follow_x_forwarded_for allow all

All the clients request only server1,

but in log of server2 I can't see ip of client. I only can see the ip of
server1.

How can I fix it?

--
Rafael Gomes
Consultor em TI
LPIC-1 MCSO
(71) 8318-0284
Atenção: Este e-mail pode conter anexos no formato ODF (Open Document
Format)/ABNT (extensões odt, ods, odp, odb, odg). Antes de pedir os
anexos em outro formato, você pode instalar gratuita e livremente o
BrOffice (http://www.broffice.org).
Received on Mon Feb 25 2013 - 13:57:53 MST

This archive was generated by hypermail 2.2.0 : Tue Feb 26 2013 - 12:00:04 MST