catatnight/freeradius3.0

By catatnight

Updated over 9 years ago

freeradius 3.0 with mysql or sqlite support

Image
10

1.1K

Requirement

  • Docker 0.11

Installation

  1. Build image (as root)

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

Usage

  1. Create container and manage it (as root)

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

    a) mysql support

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

    b) sqlite support

    1. db file ext. should be .sqlite or .sqlite3
    2. no other db file in /path/to/db
    $ ./manage.py -s radpass -d /path/to/db create
    

Note

  • all remote clients (ipv4/ipv6) are allowed by freeradius, and access restriction could be specified by firewall rules.
  • default_eap_type = mschapv2 (default: md5)

Reference

  • TBD

Docker Pull Command

docker pull catatnight/freeradius3.0