Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 733 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 733 Bytes

Docker Radius

Run radius docker container

$ docker-compose up -d

Configure radius

$ docker exec -it radius bash
$ echo "testUser Cleartext-Password := \"testPassword\"" >> /etc/raddb/users 
$ echo -e "client any {\n\tipaddr\t= 0.0.0.0/0\n\tsecret\t= testing123\n}" >> /etc/raddb/clients.conf
$ exit
$ docker restart radius 

Test radius

$ yum install -y freeradius-utils
$ radtest testUser testPassword *<docker radius ip>* 0 testing123

Check radius Log

$ docker exec -it radius tail -f /tmp/radius.log