无法通过 freeradius 代理会计

无法通过 freeradius 代理会计

我在虚拟机上安装了 freeradius(版本 3.0.13),并执行了基本配置,似乎运行正常。当我尝试代理记账时,运行时出现以下错误radiusd -CX

/etc/raddb/proxy.conf[36]: Unknown home_server "server1"

这是我的实际配置:

####proxy.conf####

proxy server {
 default_fallback = no
}

home_server server1{
 type = acct
 ipaddr = 10.194.128.105
 port = 1813
 secret = passme
 require_message_authenticator = no
 response_window = 20
 zombie_period = 40
 status_check = status-server
 check_interval = 30
 num_answers_to_alive = 3
 max_outstanding = 65536
}


home_server server2{
 type = acct
 ipaddr = 10.194.128.106
 port = 1813
 secret = passsme
 require_message_authenticator = no
 response_window = 20
 zombie_period = 40
 status_check = status-server
 check_interval = 30
 num_answers_to_alive = 3
 max_outstanding = 65536
}

home_server_pool freeradius_loadbalance {
 type = fail-over
 home_server = server1
 home_server = server2
}

realm NULL {
 auth_pool = freeradius_loadbalance
 nostrip
}

当我更改type = accttype = auth或时type = auth+acct,我可以毫无问题地启动半径。

有人可以帮忙吗?

答案1

我已经解决了这个问题,只需更换auth_pool = freeradius_loadbalanceacct_pool = freeradius_loadbalance在里面代理配置文件

谢谢 :)

相关内容