Public | Automated Build

Last pushed: 2 years ago
Short Description
freeradius 2.0 with mysql support (including Simultaneous-Use and Max-Monthly-Traffic check)
Full Description

Requirement

  • Docker 0.11

Installation

  1. Build image (as root)

     $ docker pull catatnight/freeradius:latest
     $ wget https://raw.githubusercontent.com/catatnight/docker-freeradius/master/v2/manage.py
     $ chmod +x manage.py
    

Usage

  1. Create container and manage it (as root)

     $ ./manage.py [create|start|stop|restart|delete]
    

    a) all remote clients are allowed, and access restriction could be made by firewall rules

     $ ./manage.py -s radpass --mysql_server 1.2.3.4 -u test -p test create
    

    b) authorized clients' been maintained in nas table

     $ ./manage.py --readsqlclients --mysql_server 1.2.3.4 -u test -p test create
    

Note

  • default_eap_type = mschapv2 in eap.conf
  • The following attributes are available in radgroupcheck table

    | id | groupname | attribute | op | value |
    |---|:---:|:---:|---|:---:|
    | 1 | VIP | Simultaneous-Use | := | 3 |
    | 2 | VIP | Max-Monthly-Traffic | := | 1024 |
    | 3 | VIP | Acct-Interim-Interval | := | 60 |
    *1024 Megabytes*

Reference

Docker Pull Command
Owner
catatnight
Source Repository

Comments (0)