TOUGHRADIUS
Wiki
  • README
  • Security Update: XSS Vulnerability Fix
  • config
  • docker
  • freeRADIUS integration
  • tr069
    • tr069_events
  • common
    • XMLX
  • docs
    • documents
      • Explanation of nouns
      • Mikrotik TR069 Client Setup for ToughRADIUS
      • ToughRADIUS Defined TR069 Preset Template
      • Introduction to BRAS
      • The Cisco BRAS device is connected to the ToughRADIUS server
      • ToughRADIUS Configuration
      • database
      • ToughRADIUS Docker Quick Deployment
      • ToughRADIUS 对 EAP 认证方法的支持
      • FreeRadius rest module Configuration
      • freeRADIUS integration
      • ## H3C 设备配置对接 ToughRADIUS
      • Huawei device configuration and interconnection ToughRADIUS
      • ToughRADIUS Quick start
      • ToughRADIUS 常见问题
      • Docker-compose 部署
      • ToughRADIUS Data Model
      • tr069_cert
      • Event type (meaning corresponding to EVENT CODE)
      • Mikrotik TR069 Client Setup for ToughRADIUS
      • zh-cn
        • ToughRADIUS 快速安装指南
Powered by GitBook
On this page
  • Quick Install
  • System environment dependencies
  • Database initialization
  • Installation and Configuration
  • Access the console

Was this helpful?

Edit on GitHub
  1. docs
  2. documents

ToughRADIUS Quick start

PreviousHuawei device configuration and interconnection ToughRADIUSNextToughRADIUS 常见问题

Last updated 1 year ago

Was this helpful?

Quick Install

  • Use curl

sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/talkincode/toughradius/main/installer.sh)"
  • Use wget

sudo bash -c "$(wget https://raw.githubusercontent.com/talkincode/toughradius/main/installer.sh -O -)"

System environment dependencies

  • Operating System:Support cross-platform deployment (Linux, Windows, MacOS, etc.)

  • Database server: PostgreSQL 14+

Database initialization

Please do the installation and configuration yourself, first make sure your database server is running.

Running database creation scripts and creating dedicated users

CREATE USER toughradius WITH PASSWORD 'toughradius';
CREATE DATABASE toughradius WITH OWNER toughradius;
GRANT ALL PRIVILEGES ON DATABASE toughradius TO toughradius;

Installation and Configuration

Let's take v8.0.6 as an example

If you have some development skills, you can compile your own version

curl https://github.com/talkincode/toughradius/releases/download/v8.0.6/toughradius_amd64 -O /tmp/toughradius

chmod +x /tmp/toughradius && /tmp/toughradius -install

Before proceeding, make sure that you have created the database and that the database server is running

The following installation method will download and build the latest toughradius version

go install github.com/talkincode/toughradius/v8@latest

toughradius -install

Start the service with the following commands

systemctl enable toughradius
systemctl start toughradius

Access the console

Open the browser and enter the URL: http://your-ip:1816

The default username and password are admin/toughradius

Download the software distribution from

Modifying configuration file

Database Setup
Releases Page
/etc/toughradius.yml