Skip to content

obtag/tac-plus-ng-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tac_plus-ng

Run "tac_plus-ng", a new TACACS+ daemon, on Alpine Linux with Docker.
This version of tac_plus-ng is a major rewrite of the original public Cisco source code and is in turn largely based on tac_plus from Marc Huber.
It has multiple useful features, like LDAP / ActiveDirectory / RADIUS backends and rule-based permission assignment.
Project URLs: https://www.pro-bono-publico.de/projects/ and https://github.com/MarcJHuber/event-driven-servers/


how to use it

If you just want to use the container from docker hub, create the directories and configurations - then proceed with step 2.

1.) OPTIONAL: BUILD the docker container

docker build -t obtag/tac_plus-ng .

2.) CONFIGURE the container - tac_plus-ng

Just copy your tac_plus-ng configuration to "etc" directory or adjust your settings in the existing file "tac_plus-ng.cfg".
Hint: The sample configuration "etc/sample_tac_plus-ng.cfg-ads_working" is working well with Active Directory backend and logging. The AD groups "tacacs_admins" and "tacacs_readonly" can get access to network devices with different privelege levels.


3.) USE the container

Run the container with:

docker run --name tac_plus-ng -p 49:49 -v $(pwd)/etc/tac_plus-ng.cfg:/usr/local/etc/tac_plus-ng.cfg -v $(pwd)/log/:/var/log/ -d -t --restart=always christianbecker/tac_plus-ng 

Network device configuration

Configure your network devices to use the new TACACS+ service - example:

# Aruba CX switch
tacacs-server host 192.168.1.3
tacacs-server key plaintext "SECRET30CHARACTERTACACSKEY1234"

Logging

If you have enabled logging in your tac_plus-ng.cfg configuration file, all login attempts (failed or succeeded) are logged. The logging includes date, time, device, username, source of connection and status.


project links

GitHub
Docker Hub


Authors

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

TACACS+ NG repository to build docker container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages