This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
сервис_freeradius [2022/03/15 14:39] val [Debian/Ubuntu] |
сервис_freeradius [2023/02/14 09:04] val [Тестирование сервера] |
||
---|---|---|---|
Line 113: | Line 113: | ||
$ radtest user1 rpassword1 127.0.0.1 0 testing123 | $ radtest user1 rpassword1 127.0.0.1 0 testing123 | ||
+ | |||
+ | $ echo "User-Name=student,User-Password=password,NAS-IP-Address=127.0.0.1" | radclient localhost auth testing123 | ||
# tail -f /var/log/freeradius/radius.log | # tail -f /var/log/freeradius/radius.log | ||
+ | |||
+ | |||
$ echo "User-Name=401,User-Password=401,NAS-IP-Address=127.0.0.1" | radclient localhost auth testing123 | $ echo "User-Name=401,User-Password=401,NAS-IP-Address=127.0.0.1" | radclient localhost auth testing123 |