Re: [squid-users] Squid with two networks ...

From: julian julian <julian_lnx_at_yahoo.com>
Date: Mon, 23 Jun 2008 11:50:54 -0700 (PDT)

You could probably use a set of static routes made by "route" command, where you can specify static gateway for each network. Defining as "gateway" each of yours public IP.

--- On Mon, 6/23/08, Ramiro Sabastta <rsabastta_at_gmail.com> wrote:

> From: Ramiro Sabastta <rsabastta_at_gmail.com>
> Subject: [squid-users] Squid with two networks ...
> To: squid-users_at_squid-cache.org
> Date: Monday, June 23, 2008, 8:20 AM
> Hi !!!
>
> I've installed a Squid box transparent mode (3STABLE7)
> with two
> network cards and I must to implement this scenario:
>
> - The network cards are connected at two diferents internal
> Class C
> network with public IP.
> - If the http requeriment asking about an object that is in
> the cache,
> the Squid give the object throught the same interface that
> the
> original requermients comes (I tink that this is not a
> problem,
> because de origin IP is in the same network that the squid
> have).
> - If the http requeriment asking about an object that
> isn't in the
> cache, the Squid go direct to public network trought the
> same
> interface that the original requermients comes (This is the
> problem).
>
> Are some configurations of squid.conf that allow me to do
> that?
>
> I think resolve te problem, externally form Squid (with
> iptables, for example)
>
> Thanks a lot !!!
>
> Regards !!
>
> Ramiro

      
Received on Mon Jun 23 2008 - 18:51:17 MDT

This archive was generated by hypermail 2.2.0 : Tue Jun 24 2008 - 12:00:08 MDT