Post

2FAuth

2FAuth is a web based self-hosted alternative to One Time Passcode (OTP) generators like Google Authenticator, designed for both mobile and desktop. It aims to ease you perform your 2FA authentication steps whatever the device you handle, with a clean and suitable interface.

2FAuth

Installation

Default install:

1
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/2fauth.sh)"
CPU: 1 cores RAM: 512 MB Disk: 2 GB OS: Debian 13

Configuration

Config file:

1
cat /opt/2fauth/.env

Notes

Database credentials: cat ~/2FAuth.creds
The very first account created is automatically set up as an administrator account.

Web Interface

Port: 80

This post is licensed under CC BY 4.0 by the author.