[Ilugc] help on squid

  • From: sriram@xxxxxxxxxxxxxxxxxx (P. Sriram)
  • Date: Thu, 29 Aug 2002 16:37:10 +0530 (IST)

On Thu, 29 Aug 2002, Keerthi wrote:

Hello Srikanth,
give
acl network1 src 192.168.6.0/24
http_access allow network1
http_access deny all

come on, now. read the problem report fully before offering your solution. 
lines equivalent to your solution are present (along with some others) in 
the problem report.

I tried configuring squid, I dont know some problems
with access control. My squid.conf lists
...
acl localhost src 127.0.0.1/255.255.255.255
acl local_lan src 192.168.6.0/24
...
http_access allow local_lan
http_access deny all
...


I get following error in access.log
1030610544.478      0 127.0.0.1 TCP_DENIED/403 985 GET
http://www.yahoo.com - NONE/- -

it would appear that srikanth tried to test the squid config from the same
machine (on which squid is running) and had the proxy pointing to
localhost (instead of 192.blah ip address). since there is no http_access
line that covers the localhost, it is being denied the squid service. it
would appear that srikanth did not try if this squid proxy is working from
one of the other clients which have the 192.x ip address. if he tries, it
should be working (or we have to look for the problem elsewhere, say, in
the firewall config, etc). or, he can add a 'http_access allow localhost'
line above the 'http_access deny all' line and check that it is working.

sriram





Other related posts: