我有3台服务器:代理服务器和2台家庭服务器。我想以下列方式配置Freeradius代理。当第一台服务器没有响应代理转发请求到另一台服务器时。
可以用这种方式配置Freeradius,而无需更改C源代码吗?最初Freeradius在第一次尝试后拒绝请求,因此客户负责回复请求。
答案 0 :(得分:0)
我们可以使用freeradius代理配置(/etc/freeradius/proxy.conf),如下所示:
home_server homeserver1 {
type = auth
ipaddr = <IP of homeserver1>
port = 1812
secret = SECRET
require_message_authenticator = yes
response_window = 20
zombie_period = 40
status_check = status-server
check_interval = 30
num_answers_to_alive = 3
max_outstanding = 65536
}
home_server homeserver2 {
type = auth
ipaddr = <IP of homeserver2>
port = 1812
secret = SECRET
require_message_authenticator = yes
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 = load-balance
home_server = homeserver1
home_server = homeserver2
}
realm NULL {
auth_pool = freeradius_loadbalance
nostrip
}