LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Inital problems with squid (https://www.linuxquestions.org/questions/linux-newbie-8/inital-problems-with-squid-213312/)

colabus 08-04-2004 10:29 AM

Inital problems with squid
 
Hey guys, I heard about squid and decided to check it out. Got it, installed fine but doesn't seem to be working straight off. I'm not familiar with it and i would have assumed it would work nicely straight off.

Here's my config:
Code:

hierarchy_stoplist cgi-bin ?

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

refresh_pattern ^ftp:                1440        20%        10080
refresh_pattern ^gopher:        1440        0%        1440
refresh_pattern .                0        20%        4320

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 to_localhost dst 127.0.0.0/8
acl purge method PURGE
acl CONNECT method CONNECT

http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

http_access allow localhost

http_access deny all

http_reply_access allow all

icp_access allow all

coredump_dir /var/spool/squid

My error when having Firefox configed to 192.168.0.10:3128 is:
Code:

The following error was encountered:

    * Access Denied.

      Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.

If anyone could help me out it would be great. Yes I have had a look around the forum here and i got the config explaination from the squid site but didn't see anything. Thanks.

colabus 08-04-2004 10:42 AM

ok I think I worked it out..
Code:

# Allowing local 192.168.0.* IP range to access the proxy.
acl our_networks src 192.168.0.0/24
http_access allow our_networks



All times are GMT -5. The time now is 06:28 AM.