LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   squid without authentication (https://www.linuxquestions.org/questions/linux-networking-3/squid-without-authentication-304082/)

paul_mat 03-20-2005 08:18 PM

squid without authentication
 
hi there,

i've just managed to get squid up and running on my slackware 10.0 box and i'm just looking at being able to see if it works first then i'm going to look more into security, so for now i'd like to know how to just turn off the authentication process for squid if thats at all passable if not could someone please show me a good how-to guide for setting up squid?

angrybeaver 03-20-2005 09:14 PM

do you mean authentication or access control lists (acl). Unless you've specifically set squid up to authenticate clients based on a username/password, squid won't authenticate out of the box.

If you're getting an acl error, take a look at squid.conf and search for this line (comes in the default config)

acl localhost src 127.0.0.1/255.255.255.255

beneath this, add a rule for your LAN, for example :

acl local_network src 192.168.1.0/255.255.255.0

then, *before* this line :

http_access deny all

add :

http_access allow local_network

and reload squid. Hope that makes some sort of sense, or fixes your immediate problem. :)

paul_mat 03-20-2005 11:02 PM

hey thanks, that did the trick!


All times are GMT -5. The time now is 04:20 AM.