Install and configure Free Radius Server in Linux

Home > Search

Follow these steps to install and configure Free Radius Server in Linux.

To install MySQL, follow the instructions in the article on how to install MySQL.

Use the apt-get or yum command ot install the freeradius packages.

apt-get install freeradius 
yum install freeradius

apt-get install freeradius-utils
yum install freeradius-utils

apt-get install freeradius-mysql
yum install freeradius-mysql


Add a RADIUS user.

nano /etc/freeradius/users


Add a RADIUS client.

nano /etc/freeradius/clients.conf\nclient {\nsecret=pick something unique\nshortname=router>nastype=cisco}


Restart RADIUS.

service freeradius restart


Use this command to test the RADIUS install.

radtest user1 supersecret localhost 1812 testing123


Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter in the box below so that we can be sure you are a human.