Hi All!
I have another proxy on the same machine as Squid. I've set up Squid to
point to it via cache_peer and never_direct, but I have to set it's IP
address as the IP address of the system it's on - If i set it to 127.0.0.1
or localhost, I get a connection refused error _OR_ "Unable to forward
request at this time."
It's a bit of a pain, because the server is for a client, who's going to
have a different IP addressing system on his network.....
Here's the squid.conf, it's pretty simple really:
cache_peer 127.0.0.1 parent 3129 7 no-query
cache_dir diskd /var/squidcache 950 16 256
authenticate_program /usr/sbin/squid_ldap_auth -f mail=%s -p 127.0.0.1
authenticate_children 5
cache_effective_user squid
cache_effective_group squid
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 SSL_ports port 443 563
acl Safe_Ports port 80 # http
acl Safe_Ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_Ports port 70 # gopher
acl Safe_Ports port 210 # wais
acl Safe_Ports port 1025-65535 # unregistered ports
acl Safe_Ports port 280 # http-mgmt
acl Safe_Ports port 488 # gss-http
acl Safe_Ports port 591 # filemaker
acl Safe_Ports port 777 # multiling http
acl CONNECT method CONNECT
acl FTP protocol FTP
acl PUT method PUT
acl daytime time MTWHF 09:00-16:00
acl users proxy_auth REQUIRED
acl bannedusers src /etc/squid/users/banned.users
acl teachers src /etc/squid/users/teachers
always_direct allow teachers
always_direct deny all
never_direct allow all
http_access deny !Safe_Ports
http_access deny FTP PUT
http_access deny CONNECT !SSL_ports
http_access allow users daytime
http_access allow teachers
http_access deny bannedusers
http_access deny all
Any ideas appreciated!
Loz
Laurence J Praties tel: 0871 871 0222
Systems Administrator fax:0871 871 0223
Gazelle Informatics Ltd laurence.praties@gazelle.net
Received on Wed Oct 17 2001 - 06:06:25 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:48 MST