参考
https://qiita.com/iguru/items/26393ea7ef50db0462f9
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# インストール yum -y install freeradius yum -y install freeradius-utils radiusd -v # 全ネットワークからアクセス可能にしておく # diff /etc/raddb/clients.conf /etc/raddb/clients.conf_bk 269,272d268 < client new { < ipaddr = 0.0.0.0/0 < secret = radiusstring < } # ログ出力設定 diff /etc/raddb/radiusd.conf /etc/raddb/radiusd.conf_bk 342c342 < auth = yes --- > auth = no 350,351c350,351 < auth_badpass = yes < auth_goodpass = yes --- > auth_badpass = no > auth_goodpass = no # ユーザー作成 /etc/raddb/users radius1 Cleartext-Password := "radius1pass" radius2 Cleartext-Password := "radius2pass" # 起動 systemctl start radiusd.service systemctl enable radiusd.service |