1. install yuminstall-yfreeradiusfreeradius-mysqlfreeradius-utils2, configure 1) modify clients. conf # vi/usr/local/e
1. Installation
Yum install-y freeradius-mysql freeradius-utils
2. configuration
1) modify clients. conf
# Vi/usr/local/etc/raddb/clients. conf
Add the following lines at the end:
Client 172.18.5.88 {add the authentication body and enter the IP address of OMA.
Secret = testing123 key
Shortname = 172.18.5.88
Nastype = other
}
It is also possible to retain the default configuration.
2) edit users
# Vi/usr/local/etc/raddb/users
Add user testing to the text: (This user is saved in a text file for testing)
Testing ClearText-Password: = 123
3) start radiusd to test the radiusd service:
# Radiusd-X & (Add & run in the background to facilitate the following test command execution)
# Radtest testing 123 localhost 0 testing123
If the word "Access-Accept" appears, the radius starts to work.
(Sometimes authentication fails because the firewall does not add ports, except UDP 1812 and 1813)