Re: [squid-users] Caching issue with http_port when running in transparent mode

From: Hans Musil <hans.musil_at_gmx.de>
Date: Wed, 06 Jun 2012 18:57:08 +0200

Amos Jeffries wrote:

> On 06.06.2012 07:04, Hans Musil wrote:
> >
> > Ups, an other problem: Amos, your solution looks fine, but there is
> > one problem. My login/logout script needs to know the client's IP,
> > but
> > it only sees my squid's IP. I know, there is format tag %i, but this
> > would require the non-stable version 3.2. Any better idea?
>
> Your NAT rules need a bypass when going to your internal server for the
> login page. So the client connects to the login page directly without
> Squid being in the way.
>
> Amos

Yes, this would be the easy way. However, what if I ever would decide to make the squid non-transparent? Then all clients needed to know that the gateway server has to be excepted from beeing proxied. OK, possible, althought not really elegant.

Anyway, thanks for all the help. With this, I'll be able to build up a working solution.

Hans

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
Received on Wed Jun 06 2012 - 16:57:18 MDT

This archive was generated by hypermail 2.2.0 : Wed Jun 06 2012 - 12:00:03 MDT