[TriLUG] SQUID question

Jeremy Portzer jeremyp at pobox.com
Thu Sep 18 23:45:49 EDT 2003


Read through the squid configuration file. (/etc/squid/squid.conf)  As
Jon Carnes said, there's an access control list, which is enabled by
default, that prevents all access to the proxy.

look for the section that says
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS

What I normally do is something like

http_access allow localhost
http_access allow my_local_zone
http_access deny all

Then, just above in the acl section there are several examples for
defining acls (you can call them anything, in my case it's
"my_local_zone".  

acl my_local_zone src 192.168.0.0/255.255.255.0

That defines everything connecting from the local network of
192.168.0.0/24. 

Hope this helps,

Jeremy Portzer

On Thu, 2003-09-18 at 11:06, Mark Fowle wrote:
> I have squid and dansgaurdian running (well almost). I get the following
> error in my squid access.log file when I try to connect to anywhere -
> 
> 1063853799.296     29 192.168.100.2 TCP_DENIED/403 1320 GET
> http://www.msn.com/ - NONE/- text/html
> 1063853807.050      4 192.168.100.2 TCP_DENIED/403 1330 GET
> http://www.netscape.com/ - NONE/- text/html
> 1063853815.267      0 192.168.100.2 TCP_DENIED/403 1326 GET
> http://www.snoopy.com/ - NONE/- text/html
> 
> 
> I've tried searching online but I can't find any english responses...
> 
> Any idea what the problem might be?
> 
> Thanks,
> Mark
-- 
/---------------------------------------------------------------------\
| Jeremy Portzer       jeremyp at pobox.com       trilug.org/~jeremy     |
| GPG Fingerprint: 712D 77C7 AB2D 2130 989F  E135 6F9F F7BC CC1A 7B92 |
\---------------------------------------------------------------------/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20030919/3b1e5233/attachment.pgp>


More information about the TriLUG mailing list