Billing with Radius
-
Hi guys!
I have managed to configure radius with captive Portal. I want to use radius for billing. I have a billing scenario in mind. I need your expertise and input of how to proceed, if it's doable.
I intend to receive payments through mobile money. I can get a modem with sim card that can receive payment confirmation texts after a customer has made payment. If I plug this modem to a desktop, I can access those texts from the same Desktop. Now, how do I push the same payment confirmation texts to Radius for billing? -
-
Waiting for updates on this one. Anything related to eat since November?
-
2.5.0 is out.
The voucher system now allows one voucher == one device only.
Sell vouchers ?pfSense isn't a billing system. You have to make your own bills.
-
@gertjan said in Billing with Radius:
The voucher system now allows one voucher == one device only.
this is true/correct if user is not completely disconnected or logout in captive portal, any user who attempts to use the same voucher is not permitted to login if settings is set to disabled or first login in concurrent user logins but if user is completely disconnected or logout any user will be allowed to login again using the same voucher even if disabled or first login is set in the settings.
At first, I thought user's mac address is bind to the voucher and any user is not allowed to use the same voucher even if user is completely logout/disconnected.
-
You're probably right - I didn't test vouchers.
Rather silly, I admit, is not to show the logout screen (disbale it ?). Make the soft time out somewhat close to the voucher duration, and the user won't get disconnected by pfSense neither.
The final voucher time out will finish off the voucher.
Vouchers are "one shot usage" things : like people that stay in a hotel for the night. Ones they connected with a device, and the soft time out is, let's say 14 hours, it will be impossible to have this user - or another user - using another device using the same vouchers.Vouchers are not - will never be (?) good for long term connections, like prisons, family house holds loaded with kids and other less responsible (but sometimes smart) people.
Edit : Btw : take note : my opinion of course.
Better control is possible with FreeRadius, although the real power of this 'tools' is somewhat limited in pfSense.@1ntr0v3rt3ch said in Billing with Radius:
I thought user's mac address is bind to the voucher
That's probably the way to go : as soon as a voucher is used as the "first login", the voucher code and clients MAC should stay in the connected user data base. This will block further attempts to use it with another MAC.
-
@gertjan said in Billing with Radius:
That's probably the way to go : as soon as a voucher is used as the "first login", the voucher code and clients MAC should stay in the connected user data base. This will block further attempts to use it with another MAC.
I hope they consider this a a feature for upcoming build for voucher. For the freeradius, I haven't tried it and I already ask you thru private message for this kind of setup but I have no free time for setting it up and testing it.
I hope they can add a feature for setting up a per user limit for voucher roll with different duration like: voucher good for only 6hrs(limited to 3mbps for upload and download), 12hrs(limited to 5mbps for upload and download or 1 day(limited to 10mbps for upload and download). AFAIK, this can be done by freeradius if I'm correct, so I'm hoping that they can implement this also for voucher type.
-
@1ntr0v3rt3ch said in Billing with Radius:
and I already ask you thru private message for this kind of setup but I have no free time for setting it up and testing it.
Good news and bad news : it's like having your driving licence.
You could ask how to do it. But eventually you have to do it yourself - every bit of it. In your time. There are no short cuts.
You have to (fully) understand the system before you mange the system
IMHO : (Free)Radius is 'huge'. Don't be fooled by the pfSense GUI 'click and pray' solution. -
Yeah! you're right and thank you!