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

From: Tais M. Hansen <[email protected]>
Date: Mon, 28 Oct 2002 14:10:14 +0100

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 config.

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
Received on Mon Oct 28 2002 - 06:10:16 MST

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