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@xxxxxxx 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