FreeRaduis
Source install of freeradius./configure --with-openssl --with-logdir=/var/log --sysconfdir=/etc/
Create user in user file:
steve Cleartext-Password := "testing"
Reply-Message = "Hello, %{User-Name}"Change shared secret in clients.conf
client 1.2.3.0/24 {
secret = xxyyzz
shortname = some-name
}Start it up in debug mode:
$ radiusd -X
Test it
$ radtest some_user some_pass localhost 0 xxyyzz Sending Access-Request of id 196 to 1.2.3.4 port 1812 User-Name = "some_user" User-Password = "some_pass" NAS-IP-Address = 10.250.240.5 NAS-Port = 0 rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=196, length=35 Reply-Message = "Hello, cashby"
There are no comments on this page. [Add comment]