Sign inSign up

webz/freeradius

By webz

•Updated over 10 years ago

Radius

Image
0

268

webz/freeradius repository overview

⁠Forked from /catatnight/docker-freeradius with custom database names added

⁠All credit goes to catatnight⁠

⁠Requirement

  • Docker 0.11

⁠Installation

  1. Build image (as root)

    $ docker pull webz/freeradius:latest
    $ wget https://raw.githubusercontent.com/webzvpn/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 -n dbname create
    

    b) authorized clients' been maintained in nas table

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

⁠Note

  • default_eap_type = mschapv2 in eap.conf

  • The following attributes are available in radgroupcheck table

    idgroupnameattributeopvalue
    1VIPSimultaneous-Use:=3
    2VIPMax-Monthly-Traffic:=1024*
    3VIPAcct-Interim-Interval:=60
    *1024 Megabytes

⁠Reference

Tag summary

Content type

Image

Digest

Size

125.9 MB

Last updated

over 10 years ago

docker pull webz/freeradius