Freeradius setup on Ubuntu 14.04
Frustrated with a dilapidated installation of Freeradius 1.x in our lab, and conscious that it is unsupported any more, I decided to install a new Freeradius server.
Ubuntu 14.04.3 LTS is the platform I am installing it on, and this is a relatively fresh installation of Ubuntu server. It needs to serve access-requests from a Redback and a Juniper router in our lab for both PPP and DHCP clients.
Install freeradius using ‘apt-get install freeradius’. This pulls down Freeradius 2.1 as can be seen below:
Setting up freeradius (2.1.12+dfsg-1.2ubuntu8.1)
Edit the /etc/freeradius/clients.conf file to permit all hosts on the lab network (192.168.3.0/24) to be ‘clients’ of my new Freeradius server – as long as they use a shared secret when authenticating. To do this, include the following section:
client 192.168.3.0/24 { secret = testing123 shortname = labnet-3 }
Copy /etc/freeradius/users to /etc/freeradius/users.originalfile so that we have a backup in case everything goes wrong.
Edit the /etc/freeradius/users file and create a new user:
andrew Cleartext-Password := "password" Reply-Message = "Hello %{User-Name}"
Save the users file.
Test this locally Continue reading