Re: Re: [squid-users] Iptables with 2 instances of squid running.

From: Warren P <warrenp@dont-contact.us>
Date: Mon, 28 Oct 2002 17:09:27 +0200

Hi

I have to run 2 separate instances. I've got 2 routers and I want each
one to communicate with its own instance of squid.

On Mon, 28 Oct 2002 14:10:14 +0100 Tais M. Hansen (tais.hansen@osd.dk)
wrote:

>On Monday 28 October 2002 13:53, Warren P wrote:
>> Question 1:
>> I'm trying to run 2 instances of squid on the same machine. One
>> instance of squid listening on port 3128 and the other on port
8080.
>> How should I configure IPTABLES now to re-diect port 80 traffic to
>> port 3128 and 8080 respectively.
>>
>> Question 2:
>> Is it possible to share on cache. If so how will I accomplish this
>> task.
>
>If all you're trying to do is to have Squid answer on multiple ports,
you
> can
>just run one instance of Squid, putting multiple http_port lines in
confi
>g.
>
>I.e.
>
>http_port 127.0.0.1:3128
>http_port 127.0.0.1:8080
>
>The above will make Squid answer requests on both port 3128 and port
8080
> on
>localhost.
>
>--
>Regards,
>Tais M. Hansen
>OSD
>

_______________________________________________________________
 http://www.webmail.co.za the South-African free email service
Received on Mon Oct 28 2002 - 08:09:38 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:55 MST