Captive Portal Freeradius MySql Max Daily data limit
-
Ive setup Captive Portal with Freeradius 3 and remote Mysql Server on Pfsense 2.5.2. I can authenticate user stored on the mysql freeradius. However, I'm having problem limiting the amount of daily data usage for groups of users. I created record in the radgroupreply and radgroupcheck tables -
groupname student
pfsense-Max-Total-Octets := 20000000Users are logout after hitting the max quantity of data usage, but can log back in immediately until they reach the limit again. How can I ensure that this data usage limit will be the daily maximum and user cannot log back in for the day. Creating a record in radgroupreply and radgroupcheck tables for
groupname student
Max-Daily-Session := 86400does not make a difference.
Ive searched the forum and google no luck, any help will be greatly appreciated.
thanks