Re: [squid-users] newbie config help

From: Colin Campbell <sgcccdc@dont-contact.us>
Date: Thu, 13 Dec 2001 09:07:26 +1000 (EST)

Hi,

On Wed, 12 Dec 2001, Ben Snyder wrote:

> I'm trying to let the local machine to use squid as a
> proxt via an ssh tunnel. I've setup NS6.2 to use
> localhost and port 3000 as its proxy and then did the
> following:
>
> 'ssh -L 3000:<remote_host>:3128 <remote_host> -l
> <username>'
>
> Whenever I fire up my browser I get the 'access
> denied' screen generated by squid. I'm figuring that
> this means that all of my traffic is getting routed
> correctly, but that I dont have squid configured
> correclty.

Your "inner" squid is configured to coonect to localhost port 3000. When a
connection is established to that end of the tunnel, the other end of the
tunnel tries to connect to port 3128 on the "outer" squid. The connection
will probably come from localhost. If not it'll be the address of the
outer squid box. In either case you'll need something like:

acl localhost src 127.0.0.1/255.255.255.255
http_accesss allow localhost

Colin
Received on Wed Dec 12 2001 - 16:07:38 MST

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