Configuring Linux Radius Server: - Objectives - Contents
Configuring Linux Radius Server: - Objectives - Contents
• Objectives
– This chapter will show you how to install and use Radius
• Contents
– An Overview Of How Radius Works
– Configruation of Radius
– Testing Radius server
– Setting up Aironet Cisco1200 for radius
– Client Setup Windows XP with wireless pccard
• Practical
– Implementing Radius server
Introducing the elements
• NAS
– Network Access Server (NAS) perform authentication, authorization, and
accounting for users.
– The network access server, is typically a router, switch, or wireless access point
– NAS act as a relay that pass or block traffic to and from authenticated clients
• RADIUS and AAA
– The RADIUS server is usually a daemon process running on a UNIX or Windows
2003 server.
– Authentication and authorization plus accounting are combined together in
RADIUS
• LDAP
– The Lightweight Directory Access Protocol (LDAP) is an open standard
– It defines a method for accessing and updating information in a X.500-like
directory.
– LDAP simplifies user administration tasks by managing users in a central
directory.
Authentication via RADIUS and LDAP
Installing RADIUS
• Add a testuser ##useradd
useraddkalle
kalle
– Add a password for your testuser ##passwd
passwdkalle
kalle
• Building from source
– Usally a good idea for best optimized ##tar
tar-zxvf
-zxvffreeradius-1.0.2.tar.gz
freeradius-1.0.2.tar.gz
code
##./configure
./configure
##make
make
##make
makeinstall
install
• Start radiusd in debug mode
– To see if any errors arrives ##radiusd
radiusd-X
-X
• Modify /etc/shadow permission
##chmod
chmodg+r
g+r/etc/shadow
/etc/shadow
• Make the first radius auth test
– Simulate a user trying to atenticate against the radius server
Auth-Type
Auth-Type:=:=LDAP
LDAP
Auth-Type
Auth-Type := Local,User-Password
:= Local, User-Password==
=="mypasswd"
"mypasswd"
Auth-Type
Auth-Type:=:=System
System
Service-Type
Service-Type==Login
Login
– We prepare for LDAP and LOCAL authentication for users authenticate through
the NAS
• The file /etc/raddb/eap.conf sets the user cryptation
methodes (there are many)
– Change/add the following:
default_eap_type
default_eap_type==md5
md5
auth_type
auth_type==PAP
PAP
md5
md5{{}}
leap{
leap{}}
Configuring the Aironet 1200
• For EAP security, login to your AP and goto express security
1. Enter your SSID cisco
2. No VLAN
3. Security EAP
Enter IP address of your Radius server: 192.168.1.10
Enter the Server Secret: mysecret1
Click on APPLY
Click on APPLY
Configuring the user CPE equipment
• In this particular case we have windows xp as CPE
– Install your