Re: [squid-users] One squid and two gateway

From: Etienne Pretorius <etiennep@dont-contact.us>
Date: Tue, 24 Apr 2007 16:33:32 +0200

This is unfortunately not a squid or any application issue. You see the
routing is done by the kernel and
as of yet there is no way that you can tell the kernel to use GW-1 with
the acl. In my experience it is
better to have 2 machines with a fail over mechanism sharing an ip
address via vrrp and iproute for GW
round robbin. Best of luck.

Kind Regards

Etienne Pretorius <http://www.kingsley.co.za>

blackkrusty@free.fr wrote:
> Hello,
>
> i have a squid server running on debian 4 and
> i have two differents gateway to go on the internet.
>
> i would like to create two access list on squid
> and tell squid to use for one acl gateway_A and for the
> second acl the gateway_B.
>
> ex :
>
> acl lan1 src 192.168.0.0/24 --> use gw 192.168.0.1
> acl lan2 src 192.168.200.0/24--> use gw 192.168.0.254
>
> is it possible ? or shall i use two squid box ?
>
> i have an other debian server so not a problem but
> i was curious to know ;-P
>
> Thank you very much !
> yohan
>
Received on Tue Apr 24 2007 - 08:34:05 MDT

This archive was generated by hypermail pre-2.1.9 : Tue May 01 2007 - 12:00:01 MDT