1

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.

Sven
  • 97,248
  • 13
  • 177
  • 225
miso
  • 11
  • 2

1 Answers1

1

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

user203173
  • 11
  • 1