Installing FreeRADIUS
  • 23 May 2023
  • Dark
    Light
  • PDF

Installing FreeRADIUS

  • Dark
    Light
  • PDF

Article summary

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.

  1. Install FreeRADIUS with this command.

    sudo yum -y install freeradius freeradius-utils freeradius-mysql freeradius-perl
    
  2. The commands for start, enable, and status are as follows.

    systemctl start radiusd.service
    systemctl enable radiusd.service
    systemctl status radiusd.service
    
  3. The status command should show as active (running).

    Figure 1: FreeRADIUS Server Status
    10_freeRadius_active

  4. 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
    11_freeRadius_ports


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.