Freeradius Server (+ daloRADIUS Web UI) for use with external MySQL Database
10K+
Docker image containing FreeRadius Server (using external mysql database server) + daloRADIUS web interface.
Get the docker container image here: Docker Hub
MYSQL_HOST
Default: localhostMYSQL_PORT
Default: 3306MYSQL_DATABASE
Default: radiusMYSQL_USER
Default: rootMYSQL_PASS
Default: ""MYSQL_INIT_DATABASE
Default: false
If set to true, the mysql database will be initialized with default tables/values. BEWARE: If your database is not empty, some tables may be dropped and re-initialized. Recommended use is with a brand new/blank database.CLIENT_SECRET
Radius Secret for client devicesCLIENT_NETx
Networks where your radius clients will be connecting from (for example 192.168.0.0/16). x should be replaced by a number. Supports adding multiple client IPs/Networks by specifying multiple CLIENT_NETx variables. For example: CLIENT_NET1=192.168.0.0/24 CLIENT_NET2=192.168.100.0/24. If none is specified, the default is set to allowing all IPs to connect: 0.0.0.0/0CLIENT_MAX_CONNECTIONS
Default: 16
Limit the number of simultaneous TCP connections from a client (applied to each CLIENT_NETx client). Setting this to 0 means "no limit"CLIENT_IDLE_TIMEOUT
Default: 30
The idle timeout, in seconds, of a TCP connection (applied to each CLIENT_NETx client). If no packets have been received over the connection for this time, the connection will be closed. Setting this to 0 means "no timeout".
It's STRONGLY RECOMMEND that you set an idle timeout.docker run --name freeradius -d -p 1812:1812/udp -p 1813:1813/udp -p 80:80 \
-e CLIENT_SECRET=<Radius secret>
-e CLIENT_NET1=<client net 1>
-e CLIENT_NET2=<client net 2>
-e MYSQL_HOST=<MYSQL HOSTNAME OR IP>
-e MYSQL_PORT=<MYSQL PORT>
-e MYSQL_DATABASE=<MYSQL DATABASE>
-e MYSQL_USER=<MYSQL USER>
-e MYSQL_PASS=<MYSQL PASSWORD>
boro/freeradius-daloradius
Default Login for daloRADIUS Web UI.
administratorradiusMore Info on daloRADIUS can be found here: daloRADIUS GitHub
$ docker logs freeradius
Content type
Image
Digest
Size
117.8 MB
Last updated
about 6 years ago
docker pull boro/freeradius-daloradius