In this article I wont go into detail about installation and configuration of RADIUS or Squid server and will assume that both are installed and configure properly.
Download the squid authenticating module -- Here.
Unpack it and compile it
# tar -zxvf squid_radius_auth-1.10.tar.gzYou will get a squid_radius_auth executable that you can move to a safe place. It needs a config file, squid_radius_auth that should contain the name of the RADIUS server and the secret:
# cd squid_radius_auth-1.10/
# make
server radius_serverNow, configure Squid to use RADIUS server for Authentication, open your squid.conf file and find and replace the auth section with following ...
secret secret_phrase
auth_param basic program /path_to_auth/squid_radius_authNext you have to condition Squid to allow only authenticated users. In the following example users that are in the local LAN are allowed without logging in but users that don't show up in the local users file (localusers) are asked to login:
auth_param basic children 5
auth_param basic realm Please enter your domain credentials
auth_param basic credentialsttl 8 hours
acl passwd proxy_authYou'll also have a log of who and when logged on to use the web services on the RADIUS server's logs.
acl localusers src "/etc/squid/localusers"
http_access allow localusers
http_access allow all passwd
http_access allow all
6 comments:
Thanks .Radius Squid Authentication is Ok .But its does not produce any account log . how can i get my squid radius user's accounting log by using freeradius 2.x+ Opensuse11.1 .
Thanks .Squid radius authentication is ok. But it does not produces any accounting logs.How can i get squid radius users account information. I am using Opensuse11.1+ freeRadius2.1.6.
does it work on transparent proxy
Thanks ..This is a new information to me..
Regards,
accounting services
Where I can store username/password on the Radius Server?
Same here I can't get squid radius users account information
Post a Comment