使用mysql的nas表格代替client.conf进行客户端配置

这里,也可以将radiusd.conf的clients.conf注释掉
#$INCLUDE clients.conf

并将sql.conf的readclients反注释

sql    {
 ...
 readclients = yes
 ...
 }

这样就不会使用配置文件clients.conf,而使用数据库里的nas表读取客户端信息。

在nas表插入值、nasname为localhost、shortname为localhost、type为other、secret为迩设置迩的客户端密钥、记得一定要设置shortname、这个应该对应的就是客户端自定义的IP地址

相关文章:

  • 2021-11-08
  • 2021-12-04
  • 2021-12-21
  • 2021-07-04
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-01
  • 2022-01-03
  • 2022-12-23
  • 2022-12-23
  • 2021-06-06
相关资源
相似解决方案