PR -387783
Below are the steps followed to recreate the scenario
1. Installation of free radius
Step 1 – Install FreeRADIUS & Additional Modules on CentOS 7
We want to install the following packages:
• freeradius
• freeradius-utils
• freeradius-mysql
• freeradius-perl
We normally can install the above-mentioned packages from the CentOS YUM repository.
With the following line we’ll perform a quick search for all the available freeRADIUS packages, to
make sure they’re available:
The output should look something like this:
With the following line we’ll install freeradius, freeradius-utils, freeradius-mysql and freeradius-perl:
After the installation’s finished, start and enable freeRADIUS so it’s running and so it also starts up on boot:
Output for enable radiusd.service:
Check the status of radiusd.service:
Configure CentOS 7 Firewall for freeRADIUS
We’ll configure firewalld to allow radius and httpd packets.
RADIUS server uses UDP ports 1812 and 1813. You can check this by issuing the following
command:
1. Start, enable firewalld and check it’s status
Test RADIUS Server
We’ll test the RADIUS server in debug mode, which means we’ll have to run the service. The
problem is that the server’s already running from earlier, and running in debug mode will fail to
bind ports, as such we’ll have to kill the radius service first:
2. Modifying clients.conf and users file
/etc/raddb/clients.conf
/etc/raddb/users
3. Creating WIFI Service Profile
WIFI connection Profile in OLT
WAN Service
4. Configuring ONT with radius server details
5. Connecting to SSID using radius authentication