Sign inSign up

hbouvier/docker-radius

By hbouvier

Updated almost 11 years ago

Image
1

2.0K

hbouvier/docker-radius repository overview

FreeRadius

Before the initial startup, you have to create the Certificates.

$ cd certs
$ vi ca.cnf server.cnf
$ make
$ cd ..

Create a test user

sqlite3 db/radius.sqlite3 INSERT INTO radcheck VALUES('1', 'test', 'Cleartext-Password', ':=', 'secret');

Start the container

$ docker run --name radius -d -e primary_shared_secret=radius_password -e cert_password=whatever -e "TIMEZONE=America/Montreal" -p 1812:1812/udp -v `pwd`/db:/opt/db -v `pwd`/certs:/etc/freeradius/certs hbouvier/docker-radius

To Debug Radius

$ docker run -ti -e DEBUG=true -e primary_shared_secret=radius_password -e cert_password=whatever -e "TIMEZONE=America/Montreal" -p 1812:1812/udp -v `pwd`/db:/opt/db -v `pwd`/certs:/etc/freeradius/certs hbouvier/docker-radius

Tag summary

Content type

Image

Digest

sha256:88ad26aec

Size

106.2 MB

Last updated

almost 11 years ago

docker pull hbouvier/docker-radius