Hello to everyone,
I am having difficulty getting Squid to run at work where I need to set up a
proxy cache server that connects to another proxy cache server already
running squid.
When I run squidclient to see if Squid is correctly configured I get the
ever present:
Client: ERROR: Cannot connect to localhost:3128: Connection refused
I've been hacking around at the squid.conf and it has changed dramatically
from the configuration file i have started with, and is becoming less
understandable to me.
I want to show you the squid.conf file but first i need to explain a few
details about the IP addresses.
172.28.18.22 is the static IP address assigned to the proxy cache server
running squid which is not yet functional.
172.28.30.87 is the IP address of the gateway through which all traffic
leaving the internal network to the internet must go through. Hence it is
the upstream proxy cache I want as a cache peer - an upstream proxy cache.
This is the squid.conf file:
cache_mgr David.Macalpine@compuware.com
http_port 172.28.18.22:3128
http_port 127.0.0.1:3128
icp_port 0
htcp_port 0
cache_dir ufs /usr/local/squid/var/cache 100 16 256
cache_access_log /usr/local/squid/var/logs/access.log
cache_log /usr/local/squid/var/logs/cache.log
cache_store_log /usr/local/squid/var/logs/store.log
cache_peer 172.28.30.87 parent 80 0 default no-query
cache_peer 172.28.30.87 parent 3128 3130 default no-query
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl local_net src 172.28.0.0/255.255.0.0
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
acl CONNECT method CONNECT
http_access allow manager localhost
# http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow local_net
# http_access deny all
icp_access allow all
miss_access allow all
If anyone can help me I would be greatly appreciative. The team and I need
the squid log files to monitor the performance of distributed proxy caches
by returning counter datum.
All the best,
Phillip Lucs
Received on Tue Oct 07 2003 - 07:29:01 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:20:25 MST