RADIUS Server
Project description
ToughRADIUS简介
ToughRADIUS是一个开源的Radius服务软件,基于BSD许可协议发布。
ToughRADIUS支持标准RADIUS协议,提供完整的AAA实现。支持灵活的策略管理,支持各种主流接入设备并轻松扩展,具备丰富的计费策略支持。
ToughRADIUS支持使用Oracle, MySQL, PostgreSQL, MSSQL等主流数据库存储用户数据,并支持数据缓存,极大的提高了性能。 ToughRADIUS支持Windows,Linux,BSD跨平台部署,部署使用简单。
ToughRADIUS提供了RADIUS核心服务引擎与Web管理控制台,用户自助服务三个子系统,核心服务引擎提供高性能的认证计费服务,Web管理控制台提供了界面友好,功能完善的管理功能。用户自助服务系统提供了一个面向终端用户的网上服务渠道。
ToughRADIUS网站:http://www.toughradius.net
ToughRADIUS文档: http://docs.toughradius.net/build/html/
Linux环境快速安装
安装系统依赖(centos6/7)
$ yum update -y && yum install -y python-devel python-setuptools $ easy_install pip
安装toughradius
安装完成后,toughctl命令可用。
$ pip install toughradius
系统配置
$ toughctl --echo_radiusd_cnf > /etc/radiusd.conf
配置文件内容:
[DEFAULT] debug = 0 tz = CST-8 secret = %s [database] dbtype = sqlite dburl = sqlite:////tmp/toughradius.sqlite3 echo = false [radiusd] acctport = 1813 adminport = 1815 authport = 1812 cache_timeout = 600 logfile = /var/log/radiusd.log [admin] port = 1816 logfile = /var/log/admin.log [customer] port = 1817 logfile = /var/log/customer.log
初始化数据库
注意此操作会重建所有数据库表,请注意备份重要数据。
$ toughctl --initdb
运行服务
$ toughctl --standalone
以守护进程模式运行
当启动standalone模式时,只会启动一个进程
# 启动 $ toughctl --start standalone # 停止 $ toughctl --stop standalone # 设置开机启动 $ echo "toughctl --start standalone" >> /etc/rc.local
web管理控制台的使用
当安装部署完成后可使用浏览器进入管理控制台进行操作。
默认地址与端口:http://serverip:1816
默认管理员与密码:admin/root
自助服务系统的使用
自助服务系统运行于一个独立的进程。
默认地址与端口:http://serverip:1817
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file toughradius-1.0.7.linux-x86_64.tar.gz.
File metadata
- Download URL: toughradius-1.0.7.linux-x86_64.tar.gz
- Upload date:
- Size: 962.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
034ecd885cae5d59ab437ecc332e3ee61c4e2f2fb6276125adf562ab45ee4eb7
|
|
| MD5 |
852c74920f2bf030512b3f21925005aa
|
|
| BLAKE2b-256 |
9fb3b0c8a1e350d6ba1fed3210d6bbe0bc5069fd7cfe3fac1b90244cc58237b5
|
File details
Details for the file toughradius-1.0.7-py2.py3-none-any.whl.
File metadata
- Download URL: toughradius-1.0.7-py2.py3-none-any.whl
- Upload date:
- Size: 906.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4321215b5954afbf42f160bf5d26d69eddc339d13e6e6a41a539cd07288f50b5
|
|
| MD5 |
7b18e8208e538a059d48f242a9071443
|
|
| BLAKE2b-256 |
acde07a6ec4502903d5be1bccae61540ea021e9e713d57dcb1cbd8875261ea04
|
File details
Details for the file toughradius-1.0.7-1.src.rpm.
File metadata
- Download URL: toughradius-1.0.7-1.src.rpm
- Upload date:
- Size: 780.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0a03acb956a41d754587ae673a625794897a7a236176358a38451c70e98bfb8
|
|
| MD5 |
09441a005ff00be6c247b24f506792a3
|
|
| BLAKE2b-256 |
0bf98451a9618acf7e468f7d126784ff868a4e6b3e664dd033eaa74015f3532c
|
File details
Details for the file toughradius-1.0.7-1.noarch.rpm.
File metadata
- Download URL: toughradius-1.0.7-1.noarch.rpm
- Upload date:
- Size: 906.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfc1204861b0ee5349c41d7782bb9b317ce94bd5fde621ad2f0b77f2e56a9729
|
|
| MD5 |
25b1f1342b2eb58210595942740ef097
|
|
| BLAKE2b-256 |
ba4c3514b03a8f4d12e384e8a2cb48d9801b8f3b948e4a30996f2dcf1a780c35
|