FreeRADIUS is the most popular and the most widely deployed open source RADIUS server in the world. Now with HostBill and FreeRadius you can automatically provision user accounts in RADIUS, giving you countless possibilities. With Free Radius being used as authentication server for virtually countless services, FreeRadius module gives you multiple options to expand your business. With this module you can easily Sell VPN accounts, offer and automate VoIP services, automate Proxy provisioning or manage VPN access for your staff.
HostBill connects directly to FreeRADIUS mysql database, so you need to make sure that
If you don't have freeRADIUS installed yet you can refer to this short guide: Installing FreeRadius
4. Verify entered credentials by clicking Test Connection to check if HostBill can connect
5. Save Changes
If you'd like to enable your clients the ability to change passwords go to Client Functions in your product config, and make sure "Change Password" function is enabled.
For more generic product configuration details including price, automation, emails settings refer to Product Configuration article.
In Product configuration you can create two, admin-only textarea components (under Components→Forms) with variable names:
In account details put custom attributes there, one per line in form of (Attribute) (Operator) (Value) ie:
Framed-Protocol := PPP Framed-Address = 10.0.3.1 Framed-Netmask = 255.255.255.0 Ascend-Send-Auth = Send-Auth-CHAP Ascend-Send-Secret = "kuro" |
During provisioning HostBill will parse values of those fields creating custom attributes
In Products & Services → Your Order Page → Your Product → Client Functions you can control what features customer will have access to in client portal, by clicking Enable/Disable next to the given option.
Use Edit button to adjust function appearance in the client portal.
For Free Radius you can enable the following client functions dedicated to this module:
As well as number of standard client functions, such as
Question: What are groups in product config and how to use them?
Answer:
- Groups are fetched from mysql table radgroupcheck of FreeRadius mysql database
- if no group is available/selected in product config - user group feature will not be used
- if group is set in configuration - it will be used to add user to radusergroup table
Question: What happens in the FreeRadius system when a customer is suspended in HostBill?
Answer: To distinguish suspended user, the user is being moved automatically to the group "HB-Suspended". HB-Suspended group is added automatically by HostBill. It's auth-type is set to reject to prevent user from login. On unsuspension, user is removed from HB-Suspended group.