freeradius-server

High-performance RADIUS server for network authentication and accounting.

brewmacoslinux
Try with needOr install directly
Source

About

High-performance and highly configurable RADIUS server

Commands

radiusdradclientradtestradperfradwhoradzap

Examples

start radius server with default configuration$ radiusd -f
test radius server authentication with username and password$ radtest user password localhost 0 testing123
send radius request to server from command line$ radclient -c 1 localhost auth testing123 <<< 'User-Name=testuser,User-Password=testpass'
check which users are currently authenticated on radius$ radwho -r localhost
disconnect user session from radius server$ radzap testuser localhost 0 testing123