Dear Freeradius Users,I need some help in my freeradius configuration.radusergroup
+---------------------+---------------------+----------+
| username | groupname | priority |
+---------------------+---------------------+----------+
| 1aaaaaaaaa1228721nx | offertaA_unlimited | 1 |
| 1aaaaaaaaa1228721nx | offertaA_limited | 2 |
+---------------------+---------------------+----------+
radgroupcheck
+----+---------------------+-----------------------+----+---------+
| id | groupname | attribute | op | value |
+----+---------------------+-----------------------+----+---------+
| 35 | offertaA_unlimited | Max-Monthly-TrafficIN | := | 5000000 |
+----+---------------------+-----------------------+----+---------+
radgroupreply
+-----+---------------------+---------------------+----+------------+
| id | groupname | attribute | op | value |
+-----+---------------------+---------------------+----+------------+
| 207 | offertaA_unlimited | Fall-Through | = | yes |
| 205 | offertaA_unlimited | Rate-Limit | = | 2048k/512k |
| 211 | offertaA_limited | Fall-Through | = | yes |
| 209 | offertaA_limited | Rate-Limit | = | 100k/100k |
+-----+---------------------+---------------------+----+------------+
My goal is that user '1aaaaaaaaa1228721nx' use the group 'offertaA_unlimited' until the attribute 'Max-Monthly-TrafficIN' ( sqlcounter ) reach the value and after this radius reply with settings of the group 'offertaA_limited'
Now happen that when sqlcounter 'Max-Monthly-TrafficIN' reach the value set in radgroupreply return auth reject.
Probably there is something to do in policy.conf, i have done some test without results =(
Thank you for help,
Emanuele
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html