Pejman Moghadam / Slackware

Slackware 12.0 - Squid / Radius

Public domain


Installation

  # cd /usr/src
  # wget http://www.squid-cache.org/contrib/squid_radius_auth/squid_radius_auth-1.09.tgz
  # tar -zxvf squid_radius_auth-1.09.tgz
  # cd squid_radius_auth-1.09
  # make 
  # make install

/usr/local/squid/etc/squidradiusauth.conf

  # squid_rad_auth configuration file
  # MvS: 28-10-1998
  server 127.0.0.1
  secret testing123

/usr/local/squid/etc/squid.conf

  .
  .
  .
  auth_param basic program /usr/local/squid/libexec/squid_radius_auth -f /usr/local/squid/etc/squid_radius_auth.conf
  auth_param basic children 5
  auth_param basic realm Squid proxy-caching web server
  auth_param basic credentialsttl 2 hours
  auth_param basic casesensitive off
  acl AuthorizedUsers proxy_auth REQUIRED
  http_access allow all AuthorizedUsers
  #acl our_networks src 192.168.1.0/24 172.16.10.0/24
  #http_access allow our_networks
  .
  .
  .

BY: Pejman Moghadam
TAG: squid, radius
DATE: 2009-04-25 00:17:01


Pejman Moghadam / Slackware [ TXT ]