This is a basic implementation of building a Freeradius server (version 3.0) using Laravel 9. The implementation demonstrates how to work with Freeradius SQL tables by using Laravel. An admin panel template is built using Fliament and it demonstrates how to insert rad data into tables. This is just a demo version and the purpose of sharing this is to showcase what I have learned. If you don't have a router, you can test the radius server using the following command.
Start Freeradius with debug mode
sudo freeradius -X
And test with your user
radtest -t pap youuser@email.com yourradcheckpassowrd '127.0.0.1:1812' 0 'testing123'
See installation from Laravel Docs.
And migrate and seed database.
php artisan migrate --seed
User email - [email protected]
User password - 12345678
To start, you need to first install Freeradius and configure it to work with a MySQL database. Next, clone this repository and connect it to the Radius database. Then, run database migrations and you can begin testing. Good luck!
The freeradius-laravel is open-sourced software licensed under the MIT license.