用免费radius软件实现设备AAA管理(转)
来源:互联网 发布:资本结构优化 编辑:程序博客网 时间:2024/05/24 05:27
链接:http://blog.163.com/li_sunny007/blog/static/10156321620090894556764/
最近一个项目,客户没钱买ACS,却要求做AAA的认证,要求管理员登录时采用AAA,无奈之下找到freeradius来实现
1、在网上下载一个freeradius for win,并安装完毕
2、在freeradius上配置
C:\freeradius\etc\raddb下先改动clients.conf,users.conf
在clients.conf添加cisco设备IP地址和相关key
client 10.6.6.0/24 {
#
#secret and password are mapped through the "secrets" file.
secret
= key4cisco
shortname
= ciscoap1240ag
#
# the following three fields are optional, but may be used by
#
# checkrad.pl for simultaneous usage checks
nastype
= cisco
#
login
= !root
#
password
= someadminpas
}
在users.conf中添加设备需要的管理员和一般用户
radiusadmin Auth-Type := Local,
Cleartext-Password := "radiusadmin"
Service-Type = NAS-Prompt-User,
cisco-avpair = "shell:priv-lvl=15"
radiususer
Auth-Type := Local, Cleartext-Password := "radiususer"
Service-Type = NAS-Prompt-User,
cisco-avpair = "shell:priv-lvl=1"
在freeradius命令行下用freeradius.exe
–X ../etc/raddb调试freeradius的启动
直到出现以下信息才算正常
Listening on authentication *:1812
Listening on accounting *:1813
Ready to process requests.
最后在cisco设备上配置如下
enable secret password-for-con-login
aaa new-model
aaa authentication login default group radiuslocal 创建缺省的认证,先radius认证,radius服务器无效的情况下再本地认证,注意radius认证失败不会本地认证
aaa authentication login con0login none 指定控制口登陆不要radius认证
aaa authorization exec defaultgroup radius local
aaa authorization network default group radius local
aaa accounting delay-start
aaa accounting exec defaultstart-stop group radius
aaa accounting network defaultstart-stop group radius
username admin-password-for-localloginpassword password-for-locallogin 设定本地认证,radius无效的情况下使用
p radius source-interface interface-for-radius 设定radius认证地址,必须与client.conf相同
radius-server host 10.6.6.247auth-port 1812acct-port 1813 key password-for-radius
设定radius认证信息,必须与client.conf相同
line con 0
login authentication con0login 设定认证方式
line vty 5 15
login authentication default
然后就可以使用radius来做网管管理了
0 0
- 用免费radius软件实现设备AAA管理(转)
- freeradius for win软件实现设备AAA管理
- H3C设备AAA和RADIUS协议配置
- AAA与Radius
- AAA标准-RADIUS协议
- 西加云杉700E设备AAA认证之Radius服务器与AC的交互
- 西加云杉700E设备AAA认证之Radius服务器与Mysql数据库交互
- FreeRadius AAA Radius 工作原理
- AAA协议:Radius和Diameter
- AAA 及RADIUS协议配置
- AAA认证TACAS+和RADIUS的比较
- 对于802.1X,AAA,RADIUS的理解
- aaa using radius, localdb, with group mapping and default group.
- AAA服务器【Radius Server】服务器搭建&证书制作指南
- radius manager系列软件下载
- 使用第三方软件管理苹果设备
- 软件升级---同类型设备如何管理
- 软件管理 设备访问(初稿)
- Spring架构学习(1)编码实现依赖注入
- SVN代码管理使用方法和注意事项
- iOS基础面试题(三)
- javascript初学者课程
- 在apache中隐藏php文件后缀
- 用免费radius软件实现设备AAA管理(转)
- Oracle单行函数 (二)
- iOS基础面试题(四)
- "北京成功故事"系列报道之四:巴伐利亚啤酒酿造师在北京
- git命令的基本使用方法
- iOS进阶面试题----Block部分
- ktv装修合理的混响环境很重要
- iOS 7如何解决相册无法访问的问题?
- 稳定的收益预期