我刚刚在我的 Debian 机器上安装了 FreeRadius(版本 3.2.1),并将默认测试客户端的传输协议配置为“tcp”。
client localhost {
ipaddr = 127.0.0.1
proto = tcp
secret = testing123
require_message_authenticator = no
nas_type = other # localhost isn't usually a NAS...
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
未进行任何其他配置更改。
使用 radtest 测试显示以下输出:
radtest -x -P tcp bob hello 127.0.0.1 1812 testing123
radclient: Error opening socket: Failed connecting socket: Connection refused
并且服务器(freeradius -X)保持沉默:
Listening on auth address * port 1812 bound to server default
Listening on acct address * port 1813 bound to server default
Listening on auth address :: port 1812 bound to server default
Listening on acct address :: port 1813 bound to server default
Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel
Listening on proxy address * port 53608
Listening on proxy address :: port 48219
Ready to process requests
有什么想法或提示表明问题可能出在哪里?