[Ilugc] help on squid

  • From: kvarman@xxxxxxx (Keerthi)
  • Date: Thu, 29 Aug 2002 15:03:55 +0530

Hello Srikanth,

give

acl network1 src 192.168.6.0/24
http_access allow network1
http_access deny all

Regards,
Keerthi

Hai

I tried configuring squid, I dont know some problems
with access control. My squid.conf lists

http_port 3128
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
debug_options ALL,1 33, 2
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 local_lan src 192.168.6.0/24
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
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow local_lan
http_access deny all
icp_access deny all
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

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

but when I change
http_access allow all
it is working correctly. I want to allow 192.168.6.0
network alone to use the proxy. Please help me.

regards
S.Srikanth

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
_______________________________________________
To unsubscribe email Ilugc-request@xxxxxxxxxxxxxxxxxx with 
"unsubscribe <password> address"
in the subject or body of the message.  
http://www.aero.iitm.ernet.in/mailman/listinfo/ilugc



Other related posts: