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.
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
| Port | Purpose |
|---|---|
| 8248 | 2FAuth web interface (mapped from container port 8000) |