FreeRadiusThis is simple installation of "freeradius" using with Cisco VPN router and Linux system account authenication.Env : Cisco VPN router as NAS Linux server installed with "freeradius" as RADIUS Step 1 [root@~]# yum install freeradius net-snmp Install the program via yum , or download the tar source from :http://www.freeradius.org/
[root@~]# tar -zxvf freeradius-1.0.2.tar.gz Step 2 [root@~]# vi /etc/raddb/radiusd.conf Step 3
Step 4 Now we can use linux system account in Linux RADIUS as default, test it: [root@~]# radiusd -X Start Debug mode[root@~]# radtest id pw localhost 0 key Open other console and test the radius by test commandUsage: radtest user passwd radius-server[:port] nas-port-number secret [ppphint] [nasname] If it is OK succes, it will show like as:
Step 5 If OK for testing, start the service and set chkconfig to auto-start :
[root@~]# chkconfig radiusd on Server is hosted by Alanstudio Linux Operating System Recommend screen resolution 1024 x 768 / IE / FireFox Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved. |