FreeRADIUS的不加载clients.conf

问题描述 投票:0回答:1

我在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
  }
 }

我clients.conf在/ etc /的freeradius /:

client dockernet 
{
    ipaddr = 172.17.0.0
    secret = testing123
    netmask = 24
    shortname = dockernet
}
freeradius
1个回答
0
投票

好吧,我运行与码头工人FreeRADIUS的。我对矫正错误的配置文件


0
投票

当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

这个问题往往来自大约由具有两个装置,例如从包安装了一个,然后从源在同一系统上安装。

© www.soinside.com 2019 - 2024. All rights reserved.