Configuring Files for FreeRADIUS
  • 23 May 2023
  • Dark
    Light
  • PDF

Configuring Files for FreeRADIUS

  • Dark
    Light
  • PDF

Article summary

FreeRADIUS will require some file configuration before it can be used. This section will show what and how to edit the files.

Note: These instructions are provided as an example, and your environment will differ.

The RADIUS configuration file will most likely not require changes. This file location is /usr/lib/firewalld/services/radius.xml.

A Vendor Specific Attribute (VSA) is required when using FreeRADIUS. The VSA information needs to be added to the dictionary and user files.

  1. Navigate to /etc/raddb/dictionary using your preferred editor and open the dictionary file and add the information below. The lines may be added to the end of the dictionary file.

    # itential
    VENDOR Itential 47688
    BEGIN-VENDOR Itential
    ATTRIBUTE Itential-Group 26 string
    END-VENDOR Itential
    
  2. Navigate to /etc/raddb/user and open the user file to add the following information.

    testing Cleartext-Password := "password"
        Itential-Group = "admin"
    
    admin Cleartext-Password := "admin"
        Itential-Group = "pronghorn_admin"
    
  3. Navigate to the etc/raddb/clients.conf and open the client file. The client localhost information should be adjusted to reflect the actual IP address for the production environment. The example provided does not need to be changed for a test environment.

    Figure 1: FreeRADIUS clients.conf File
    12_freeRadius_clients


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.