julian julian wrote:
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@xxxxxxxxx> wrote:
From: Ramiro Sabastta <rsabastta@xxxxxxxxx>
Subject: Squid with two networks ...
To: squid-users@xxxxxxxxxxxxxxx
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.
Could you illustrate more about your network. I mean the connected to
the squid box..?
- 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