I have a basic PPTP/L2TP setup that uses a remote freeradius server with mysql. Issue is that when a user gets connected to the vpn and as long as the user stays connected (could be hours), no accounting data is updated (bandwidth usage). Only on disconnect does it update the actual bandwidth usage etc.

I have tried setting Acct-Interim-Interval = 30 in the radreply table but still no luck. Is there something i am missing? Any help is appreciated .. thanks.


add "ATTRIBUTE Acct-Interim-Interval 85 integer" to /etc/radiusclient/dictionary

and return Acct-Interim-Interval in /etc/raddb/users or radreply sql table or others ways you like.

here is the solution: http://lists.freeradius.org/pipermail/freeradius-users/2007-March/016817.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.