close

當想使用 users 屬性時 ,可編輯 users file  在 raddb 目錄下 ,

範例:

xyz Cleartext-Password := "111"
Tunnel-Medium-Type = "IEEE-802",
Tunnel-Private-Group-ID = "200",
Tunnel-Type = "VLAN",
Idle-Timeout = "30",
Session-Timeout = "20"

xyz123 Cleartext-Password := "123456"
Tunnel-Medium-Type = 6,            <== IEEE-802
Tunnel-Private-Group-ID = 10,    <== 此為分配的vlan id 號
Tunnel-Type = "VLAN",

b88d124237fa Cleartext-Password := b88d124237fa      <== 此為做 L2 Mac 認證用
Tunnel-Medium-Type = 6,
Tunnel-Private-Group-ID = 10,
Tunnel-Type = "VLAN",

 

當然不要忘了 編輯 eap.conf 

此行拿掉註解

use_tunneled_reply = yes

 

重跑 radius 即可

radius debug mode :  radius -X   ,可搭配 wireshark 抓封包確認 屬性是否被設定成功。

 

arrow
arrow
    全站熱搜

    yves2005 發表在 痞客邦 留言(0) 人氣()