[squid-users] cache peer problem with two squid one Tproxy --->normal Porxy

Amos Jeffries squid3 at treenet.co.nz
Wed Nov 12 14:36:35 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 13/11/2014 1:02 p.m., Ahmed Allzaeem wrote:
> Thanks amos
> 
> I have added option notproxy on the tproxy one It became : 
> cache_peer 77.221.104.97  parent 3127 0 no-tproxy
> 
> 
> also I changed hostnames in /etc.hosts for both servers and added
> visible hostname  squid for both

/etc/hosts is for resolving *other* machines IPs/names.

/etc/hostname is where the server host name is configured. Or if you
are using a GUI it may need to be done via one of the control panels
to ensure it gets set properly.


> 
> now on the normal proxy I can see the logs access
> 
> but still not traffic it give me access denied from the parent
> proxy ?!! any help ?

Find out why the denial. It could be the hostname still, or the first
proxies outbound IP vs. your second proxies http_access rules, or it
could even be coming from the origin server out on the Internet.

Amos
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUY3BzAAoJELJo5wb/XPRjhvYH/1T5cl+N8CSRzFTvcDyW7gmZ
mIohmmQJUOS1seudbO0NrMjOuwHkaWZKNz2Obrwyk3vLTeV2OYPaM9CB4XlYOuDM
XrwyPAdSexKvtimrSVO2sGjpYy4tx2vZ58cTIgkS0LPqVDCY4+QTCRgX1UbDrUQ+
SALieUD1JTJDcE9L7l/xA/oRndINTeT3/J3aeNRvx32l5gOsMRmreGgmHiCLZo/1
N2Dfl2xDxzD+1Z1OMY5DaV/zh7kA5jpKUgOz3W7kMSq6kdKtmZSzcXz8tlyoKsP8
/WjQqr/eIfV4kFuLj2Ymw4euAZPUJfL926uFoEqhBdz24RgS/g9T1KW7mp0deeI=
=IJ+G
-----END PGP SIGNATURE-----


More information about the squid-users mailing list