ABOUT
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.
infoDatabase credentials: `cat ~/2FAuth.creds`
infoThe very first account created is automatically set up as an administrator account.
infoUsers should register with http://<LXC_IP>/register
INSTALL
Approved local installer
DefaultDebian 13
Approved locally1 CPU512 MB RAM2 GB disk
Config pathcat /opt/2fauth/.env
Run this command in the Proxmox VE shell. It downloads the immutable approved file, verifies SHA-256, and only then executes it.
( url='https://scripts.francoisvw.com/snapshots/c19711ea1b2526bec67e34be948114e255b5a811/ct/2fauth.sh'; sha='b1e8a6c750f3ddb7a3e3d5776d4e7d68aedc577dc9ba1e4b13386a2e5deb394a'; tmp="$(mktemp)" || exit; curl -fsSL "$url" -o "$tmp" && printf '%s %s\n' "$sha" "$tmp" | sha256sum -c - && bash "$tmp"; rc=$?; rm -f "$tmp"; exit "$rc" )
View approved source ↗Path ct/2fauth.shSHA-256 b1e8a6c750f3ddb7a3e3d5776d4e7d68aedc577dc9ba1e4b13386a2e5deb394a LOCAL CHANGE REVIEW
Approved vs latest fetched source
Sign in with a passkey to inspect pending source changes. Approved content remains public.