PPP Using Freeradius and Mysql, Controled in Daloradius
There exists PPP VPN on my server. I used auth-file to manage user account before, but it was not efficient. Now, after radius established, almost everything can be done in WEB!!!
PPP can be used as a NAS of Radius, but it is not fully functioned. I cannot send packet of disconnection to PPP from Radius and terminate a user’s connection. But other functions work fine.
I am using ppp, freeradius, mysql and daloradius. It took me a long time on debug. And now it works fine.
Let me pick some pics.
Here is the sql.conf I am using. Hope it helps.
The stable version was for freeradius 1.x, which means you have to edit the sql.conf and PHP files in daloradius to make it work well.
The daloradius in SVN supports Freeradius 1.x and 2.x very well. I recommend you visit the newer guide HERE.












logically
[Reply]
can you post a guide how did you configure it to work with ppp correctly ?
i want to connect it to RRAS thank you.
[Reply]
IndarKness Reply:
November 12th, 2010 at 12:13 pm
I would love to write the detailed guide. Maybe it would take some time. I can answer your questions before the guide finished.
The configuration would including:
ppp < ===> freeradius < ===> mysql < ===> Web
To connect ppp and freeradius, Maybe you should:
1. Get ppp radius modules
1.1 compile ppp from source code (because the ppp debian package doesn’t include radius modules)
1.2 find compiled radius.so & radattr.so
1.3 find radiusclient folder in the ppp soucecode
2. Configure ppp
2.1 Configure the radius server and shared key in: radiusclient/server ,radiusclient/realms and radiusclient/radiusclient.conf
2.2 add radius to ppp server options file. This is mine.
===================================
plugin /etc/ppp/radius.so
plugin /etc/ppp/radattr.so
radius-config-file /etc/radiusclient/radiusclient.conf
====================================
[Reply]