Installation
yum install freeradius freeradius-utils freeradius-python -y
Add Authentication subnet
gedit /etc/raddb/client.conf
.
ex. add 10.0.0.0/24
.
client 10.0.0.0/24{
secret = 12345678
}
Add user and password
gedit /etc/raddb/users.conf
.
ex.
"test" Cleartext-Password := "testpw"
Reply-Message = "Hello, %{User-Name}"
.
For radius ttls user
sqasqa User-Password = "sqasqa"
Test Local Server:
.
radtest test testpw 10.0.0.138 1812 12345678
radtest test testpw 127.0.0.1 1812 testing123