我是新来freeradius的。我不明白为什么radiusd不考虑clients.conf配置文件。
从服务器日志中提取:
-including configuration file /etc/freeradius/clients.conf
----------------------------------------------------------
--------------------
-radiusd: #### Loading Clients ####
- client localhost {
ipaddr = 127.0.0.1
require_message_authenticator = no
secret = <<< secret >>>
nas_type = "other"
proto = "*"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client localhost_ipv6 {
ipv6addr = ::1
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
和我在/etc/freeradius/中的clients.conf:
client dockernet
{
ipaddr = 172.17.0.0
secret = testing123
netmask = 24
shortname = dockernet
}
发布于 2019-02-11 16:06:07
好的,我和多克一起运行freeradius。我修改了错误的配置文件
发布于 2019-07-19 18:08:49
当FreeRADIUS在调试模式下启动时,例如
radiusd -X它打印出它正在读取的所有文件。您需要运行此命令来检查您正在编辑的文件是否是实际正在使用的文件。
请注意,配置通常位于不同的位置,具体取决于安装。
从源代码安装,配置为/usr/local/etc/raddb或/etc/raddb。在基于RedHat/CentOS的系统上,它在/etc/raddb上,而在Debian/Ubuntu系统上,它在/etc/freeradius或/etc/freeradius/3.0上。
对于更高级的用例,-d选项可以告诉FreeRADIUS从不同的位置读取其配置,例如
radiusd -X -d /opt/raddb这个问题通常来自于有两个安装,例如一个从软件包安装,然后在同一系统上从源代码安装。
https://stackoverflow.com/questions/54552591
复制相似问题