Sign inSign up

rickronen/tac-plus

By rickronen

•Updated over 1 year ago

TACACAS+ and SSH to container.

Image
Networking
0

355

rickronen/tac-plus repository overview

⁠TACACS+ and SSH Container - Built on Rocky Linux 8

⁠Overview

This Docker image provides a TACACS+ authentication server along with SSH access, making it ideal for network authentication, authorization, and accounting (AAA) testing and deployment.

Built on Rocky Linux 8, the image includes tac_plus and essential networking tools such as:

  • tcpdump – Packet capture and analysis
  • OpenSSH Server – Secure remote access
  • OpenSSL – Secure communication and encryption
  • Nano – Command-line text editor
  • net-tools – Networking utilities (ifconfig, netstat, etc.)

⁠Pull the Image

To download the latest version of the image, use:

docker pull rickronen/tac-plus:1.0

⁠Run the Container

To start a container with TACACS+ and SSH, run:

docker run -d --name tac-plus --hostname tac-plus -p 2222:22 -p 49:49 rickronen/tac-plus:1.0
  • Port 2222 → SSH (can be changed as needed)
  • Port 49 → TACACS+ authentication service

⁠SSH Access to the Container

To access the container via SSH (e.g., using PuTTY or terminal):

ssh root@localhost -p 2222

🔑 Default Credentials:

  • Username: root
  • Password: rad123

(You can modify this in the container as needed.)


⁠TACACS+ Configuration

The TACACS+ server is pre-configured with a test user and shared key.

📌 Configuration File:

/etc/tac_plus.conf

🛠️ Default TACACS+ User Configuration:

  • Shared Key: rad123
  • User with privileges:
    • Group: ADMIN
    • Username: rad
    • Password: 1234

🔹 You can modify the TACACS+ users, groups, and policies inside /etc/tac_plus.conf to fit your needs.


⁠Container Customization

If you need to run a container with customized ports, environment variables, or configurations, you can modify the docker run command accordingly.

For example, changing the SSH port to 2223:

docker run -d --name tac-plus --hostname tac-plus -p 2223:22 -p 49:49 rickronen/tac-plus:1.0

⁠License

This image is provided as-is for testing and development purposes. Use at your own risk.


⁠✅ Start using TACACS+ and SSH with ease!

If you find this useful, feel free to ⭐ star the repository and contribute. 🚀


⁠📩 Support & Contact

For issues, suggestions, or contributions, feel free to open an issue on Docker Hub or GitHub.

Tag summary

Content type

Image

Digest

sha256:6ea1c899d…

Size

610.1 MB

Last updated

over 1 year ago

docker pull rickronen/tac-plus:1.0