如何使用 radtest 测试 MikroTik UserManager (RADIUS)
在 Ubuntu 或其他 Linux 发行版上,你可以轻松地使用以下命令安装 radtest
radtest_install.sh
sudo apt -y install freeradius-utils之后,你需要在 MikroTik 设备上创建一个代表你测试 PC 的 Router,以便接受 RADIUS 请求。
现在你可以像这样运行 radtest:
radtest_command.sh
radtest -t mschap [Username of the user to authenticate] [Password of the user to authenticate] [MikroTik IP] 1812 [Router shared secret]注意 Router shared secret 是你之前在 User manager -> Routers 中为 radtest 设置 Router 实例时使用的密码,而不是路由器的管理员密码等。
1812 是 RADIUS 的默认(和推荐)端口。
Check out similar posts by category:
MikroTik, Networking
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow