The following steps provide a basic installation process for FreeRADIUS. All information is provided as an example scenario. IPs, usernames, groups, and passwords will vary with the environment. Be sure to use your specific environment information in order to install and configure FreeRADIUS.
This sample installation was performed on a CentOS 7 virtual machine in a test environment.
-
Install FreeRADIUS with this command.
sudo yum -y install freeradius freeradius-utils freeradius-mysql freeradius-perl
-
The commands for
start
,enable
, andstatus
are as follows.systemctl start radiusd.service systemctl enable radiusd.service systemctl status radiusd.service
-
The status command should show as active (running).
Figure 1: FreeRADIUS Server Status
-
The recommended ports to be opened for UDP and TCP are 1812 and 1813. An example using the
firewall
command is below.Figure 2: FreeRADIUS Open Ports