Video coming soon…

🔐 Setup 2FAuth — Self-Hosted Two-Factor Code Manager

Deploy 2FAuth on Ubuntu with Docker — a self-hosted web app for managing your TOTP and HOTP two-factor codes, so they're not trapped on a single phone, on port 8248.

⚠️ This script is provided for demo and testing purposes only. Not intended for production use.

📦 Resources & Setup Scripts

Grab the automated bash script from GitHub to follow along with the video.

Automated install script — one command deploys 2FAuth on port 8248 with a generated APP_KEY. Register your account on first visit.
View on GitHub

Quick Install:

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/security/2fauth/2fauth-ubuntu.sh
chmod +x 2fauth-ubuntu.sh
./2fauth-ubuntu.sh

Tutorial Steps

1 Download the Script

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/security/2fauth/2fauth-ubuntu.sh

2 Make it Executable

chmod +x 2fauth-ubuntu.sh

3 Run the Installer

./2fauth-ubuntu.sh

4 Register Your Account

http://your-server-ip:8248

Ports Used

PortPurpose
82482FAuth web interface (mapped from container port 8000)

Overview

Why Use It

When You Need It

    Who Should Use It

      Real Use Cases

        Main Features

          How to Use After Installation

            Security Best Practices

              Ports and Firewall Notes

              Backup and Maintenance

                Common Mistakes

                  Troubleshooting

                    Alternatives

                    When Not to Use It

                    PrismaTechWork Professional Help

                      Contact Us

                      Frequently Asked Questions