第 21 章 radiusd - Authentication, Authorization and Accounting server
生活随笔
收集整理的這篇文章主要介紹了
第 21 章 radiusd - Authentication, Authorization and Accounting server
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
目錄
21.1. 安裝 radiusd21.2. 802.1http://freeradius.org/
21.1.?安裝 radiusd
過程?21.1.?安裝步驟
yum 安裝
yum install -y freeradius設置啟動文件
chkconfig radiusd on service radiusd start配置 radiusd
cp /etc/raddb/clients.conf{,.original} cp /etc/raddb/users{,.original} cp /etc/raddb/sites-enabled/default{,.original} cat >> /etc/raddb/clients.conf <<EOFclient 192.168.0.0/16 {secret = testing123shortname = freeradius.example.com } EOF/etc/raddb/users
guest Cleartext-Password := "test"/etc/raddb/sites-enabled/default
測試 radiusd
$ radtest guest test 192.168.2.1 1812 testing123 Sending Access-Request of id 223 to 192.168.2.1 port 1812User-Name = "guest"User-Password = "test"NAS-IP-Address = 127.0.1.1NAS-Port = 1812Message-Authenticator = 0x00000000000000000000000000000000 rad_recv: Access-Accept packet from host 192.168.2.1 port 1812, id=223, length=20Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a>comments powered by Disqus
原文出處:Netkiller 系列 手札
本文作者:陳景峯
轉載請與作者聯系,同時請務必標明文章原始出處和作者信息及本聲明。
總結
以上是生活随笔為你收集整理的第 21 章 radiusd - Authentication, Authorization and Accounting server的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: JVM调优系列:(五)JVM常用调试参数
- 下一篇: objective-c 方法加号(+)