Testing Radius from a command-line

I like to test things manually to bypass any potential issues cause by multiple layers of applications. Here is how I found to test radius authentication using the command line radclient command:

[root@radius ~]# /usr/local/bin/radclient -x localhost:1812 auth <password>
< User-Name="<valid-username>"
< User-Password="<valid-password>"
> Sending Access-Request of id 228 to
>         User-Name = "username"
>         User-Password = "password"
> rad_recv: Access-Accept packet from host, id=228, length=180

Leave a Reply

Your email address will not be published. Required fields are marked *