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
Hashes for toughradius-0.9.9.1.linux-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d132b18084fe7b08b180d8f3d6e0783714c7c94076ed9d1f4878c05115a68328 |
|
MD5 | 4978ce8c33ad7244712aa45eb8d65b39 |
|
BLAKE2b-256 | ccfc2ba2559c50d47b3dc66e277612544f65064549bc82f41be8819f565d2dae |
Hashes for toughradius-0.9.9.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4317fbe1d9355374232acdb1d5013b63106c46183b25b2381da6fc26627edd4b |
|
MD5 | 77664ac7f4a086d02eac696fd3cf3e7d |
|
BLAKE2b-256 | 7f121bec1dcc77f0a363852af70b2359b9211b1759773b41863b052fdc2c0b00 |
Hashes for toughradius-0.9.9.1-1.noarch.rpm
Algorithm | Hash digest | |
---|---|---|
SHA256 | a336bef0ab6f752e04b36be9234ba79289776441176ceb5767f327586aaf3a28 |
|
MD5 | f8888aac22831d2cf32bdbc7372ccb2a |
|
BLAKE2b-256 | ba33cc8aa4f728e7898507b6e2e2d8b710dd4dfc84571d29b6939331eddcbf14 |