How to install & configure Freeradius

configure Freeradius

You need to make Wi-Fi authorization not with a single key, but with separate keys for each user. This required the deployment of a RADIUS server.

The FreeRADIUS Server Project is a high performance and highly configurable multi-protocol policy server, supporting RADIUS, DHCPv4, and VMPS. It is available under the terms of the GNU GPLv2. Using RADIUS allows authentication and authorization for a network to be centralized, and minimizes the number of changes that have to be done when adding or deleting new users to a network.

How to install & configure Freeradius

First, install FreeRADIUS

First, add our access point as a client. To do this, open the file /etc/freeradius/clients.conf and at the end add the following section
client wifi-AP {
ipaddr = xxx.xxx.xxx.xxx #IP access points (router)
secret = password #password for access point
require_message_authenticator = no
}
Now add a domain for users. To do this, add to the end of the /etc/freeradius/proxy.conf file:
realm DEFAULT {
type = radius
authhost = LOCAL
acchost = LOCAL
}

Finally, add users to the /etc/freeradius/users file :

ddos Cleartext-Password :=”your_password”