Re: [squid-users] Remote squidclient

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 16 May 2008 17:37:46 +1200

Ron Richardson wrote:
> I have the MacPort of Squid running on a Mac Mini. Works great. But I
> don't want to tax it with all of the reporting stuff (Apache, RRDTool,
> etc.). I want to run those on an existing web server. I read in Duane
> Wessel's book (page 288) that "If you have additional trusted hosts, you
> may want to add them to the access rules also.", which I did in
> squid.conf...
>
> acl manager proto cache_object
> acl localhost src 127.0.0.1/255.255.255.255
> acl mgrhost src 170.158.132.7/255.255.255.255
> http_access allow manager mgrhost
> http_access allow manager localhost
> http_access deny manager
>
> But when I run a squidclient request from the 132.7 host...
>
> squidclient cache_object://squide.liverpool.k12.ny.us/info
>
> I get the error...
> client: ERROR: Cannot connect to localhost:3128: Connection refused
>

squidclient needs to be told what server the proxy is, or it will assume
its running on the proxy box privately.

ie.
   squidclient -h squide.liverpool.k12.ny.us mgr:info

Amos

-- 
Please use Squid 2.6.STABLE20 or 3.0.STABLE5
Received on Fri May 16 2008 - 05:37:49 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 05 2008 - 01:05:13 MDT