I'm trying to setup my server to only allow proxying if a resellers account
balance is good.
Example:
User connects to NAS
NAS sends user/pass to my radius server
My radius server checks the account balance of reseller
if reseller account balance > 0
send request to reseller radius server & continue as normal...
else
deny request
It could also work like:
User connects to NAS
NAS sends user/pass to my radius server
My radius server sends request to reseller radius server
if reseller radius server says OK
if reseller account balance > 0
send authok
else
send deny
Has anyone attempted this before? I'm using MySQL & Freeradius. After
looking at lots of config files, etc. I think that a preprocess addition
might work. Does anyone know if the Realms/NAS tables work now? I could
also write a script to check account balances and remove the Realms entry if
the account balance is negative (if the Realms table works now).
Any ideas/help would be greatly appreciate.
Thanks,
Mike
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html