简体   繁体   English

从 127.0.0.1:1812 到 127.0.0.1:33736 收到访问拒绝 ID 208

[英]Received Access-Reject Id 208 from 127.0.0.1:1812 to 127.0.0.1:33736

I tried to configure freeradius on centos Stream8, after the radius server is running,I ran the radtest command to test the user, but I am getting "Received Access-Reject Id 208 from 127.0.0.1:1812 to 127.0.0.1:33736"我尝试在 centos Stream8 上配置 freeradius,在 radius 服务器运行后,我运行了 radtest 命令来测试用户,但我收到“从 127.0.0.1:1812 到 127.0.0.1:33736 收到的访问拒绝 ID 208”

see below steps for radius server configuration.请参阅以下有关 radius 服务器配置的步骤。

enter image description here在此处输入图像描述

radtest command should be accepted应接受 radtest 命令

If you ran those instructions exactly as given, then you created a user in the database with username user and password secret , but then ran radtest with username testuser and password password@1 .如果您完全按照给定的指令运行这些指令,那么您将在数据库中创建一个用户名为user和密码为secret的用户,然后使用用户名为testuser和密码为password@1运行 radtest。 These don't match, so authentication will be rejected.这些不匹配,因此身份验证将被拒绝。

But if it's not that, there is no way near enough information in your question to answer this.但如果不是那样,那么您的问题中就没有足够的信息来回答这个问题。 You need to run FreeRADIUS in debug mode ( radiusd -X ) and read the output. You should see the packet arrive and pass through the server, at which point the place where the failure occurs will be visible.您需要在调试模式 ( radiusd -X ) 下运行 FreeRADIUS 并读取 output。您应该看到数据包到达并通过服务器,此时可以看到发生故障的地方。

Don't try and debug the server with no debug output;不要在没有 debug output 的情况下尝试调试服务器; you will waste a lot of time just guessing what's going on, rather than actually having the information needed to solve the problem.您将浪费大量时间只是猜测发生了什么,而不是实际获得解决问题所需的信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM