無法透過 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在裡面代理設定檔

謝謝 :)

相關內容