RE: [squid-users] complete newbie

From: Chris Wilcox <not_rich_yet@dont-contact.us>
Date: Thu, 15 Jan 2004 16:16:12 +0000

>Is it possible someone can point me in the right direction? I have just
>installed Redhat9 which has squid installed as a componant. It seems to be
>installed in /etc/squid (certainly this is where the squid.conf file is
>located).

Different Linux distributions will likely install Squid to a different
location. Don't worry about where it is installed to, just worry about
making it work!

The location of squid.conf bears no relation to the location of the Squid
binary/program itself.

>Firstly I have configured the ports for incomming requests from my
>workstations
>and I am happy with that and because the Local education authority run a
>filtering proxy service i am aware i need to set a parent proxy and the
>port to
>connect to it. this is where my problem lies, If i set it as a parent proxy
>and
>set the port for Squid to connect to it all well and good, but what happens
>with
>the returned traffic from the parent I assume it will come back on the same
>port
>I connect to the parent on, however, I dont have a clue as to where in the
>squid.conf this should be configured.

You'll not likely need to alter much in the squid.conf file since most of
the default settings will allow Squid to run without alteration.

So long as you define 'cache_peer' correctly to point to your LEA's upstream
proxy then Squid will work fine. You don't need to and possibly can't
decalre the other ports you mention. I will say it;s worth telling your LEA
about your cache, as they will instantly see your cache as a single client
hogging all the requests and bandwidth and possibly disable it's access.
They did that to me where I work until I told them about the cache!

>
>I would be much obliged if someone could help me I have already made one
>fruitless trip to the friendly computer supermarket who fail to stock any
>books
>on squid. So I will have to try and dig out my old redhat bible.

You'll possibly only need to worry about the following lines in squid.conf:

cache_peer
visible_hostname
cache_dir size (the default 100Mbytes likely is nowhere near big enough)

Can't think of any other lines offhand. In Red Hat 9 you can use the GUI
Services applet to set Squid to start automatically on boot-up.

hth

Regards,

Chris

_________________________________________________________________
Stay in touch with absent friends - get MSN Messenger
http://www.msn.co.uk/messenger
Received on Thu Jan 15 2004 - 09:16:14 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:06 MST