Squid proxy server
hi,
I am using E-Smith .
i found that we are using Squid Proxy server .
i wish to add user autentication before the user acess internet.
may i know how can I do that ?
please assists because i am new user of Linux.
hoay fern
Linux
hi,
I am using E-Smith .
i found that we are using Squid Proxy server .
i wish to add user autentication before the user acess internet.
may i know how can I do that ?
please assists because i am new user of Linux.
hoay fern
by bg4
In the Squid setup file "squid.conf" go to the section called "access control". It is well documented as to what to do. Here is a simple config to allow only PCs on the 192.168.1.0 network access to squid.
acl userlist1 src 192.168.1.0/24
http_access allow userlist1
To add an individual PC at say 192.168.6.3 but deny the rest of the segment
acl userlist2 src 192.168.6.0/24
acl user src 192.168.6.3
http_access allow user !userlist2
You can also block ports and protocols.
I hopethis helps.
by hoayfern
by schannachie
Hi,
Here you have an other option so you can use to check users with an external program.
# TAG: authenticate_program
# Specify the command for the external authenticator. Such a
# program reads a line containing "username password" and replies
# "OK" or "ERR" in an endless loop. If you use an authenticator,
# make sure you have 1 acl of type proxy_auth. By default, the
# authenticator_program is not used.
#
# If you want to use the traditional proxy authentication,
# jumpover to the ../auth_modules/NCSA directory and
# type:
# % make
# % make install
#
# Then, set this line to something like
#
# authenticate_program /usr/bin/ncsa_auth /usr/etc/passwd
#
#authenticate_program none
this is from squid.conf file, so now you can find several authenticate programs i.e. for windoze smb_auth (via samba port).
Homepage: http://www.hacom.nl/~richard/software/smb_auth.html
Download: http://www.hacom.nl/~richard/software/smb_auth-0.05.tar.gz
for Squid info:
Homepage: http://www.squid-cache.org/
Download: http://www.squid-cache.org/Versions/v2/
Hope it helps.
by hoayfern
by hoayfern
This discussion is closed to new replies.
Sort by Trending