Home › Clients & server
Security
Two-step login, firewall, fail2ban, alerts and safe access
The server is protected in layers. Most of it is automatic.
In the panel
- Two-step login (dashboard > Security, or the key button): Google Authenticator codes for the admin. Turn it on.
- Telegram alerts: a message when someone signs in or fails to sign in.
- Sign out when the browser closes (LOGOUT_ON_CLOSE=on).
- Admin vault: copies of every uploaded video, kept even if a client deletes them.
- Login attempts are limited; every admin action is logged.
On the server (update.sh)
SECURITY_FIREWALL=on: only the ports Streambox24 uses are open; internal ports (APIs, databases) are closed to the internet.SECURITY_FAIL2BAN=on: an IP is blocked for 1 hour after 5 wrong SSH passwords.SECURITY_EXTRA_PORTS: open extra ports you need, for example"5000:5100/udp".PANEL_PORT_8080=auto: once your domain has SSL,http://IP:8080is closed and the panel opens only on https.
If the domain / https stops working
Set PANEL_PORT_8080=open in update.sh and run it: the panel opens again at http://SERVER-IP:8080. Fix the domain, then set it back to auto.
TipAlso: use a long, unique admin password, keep the Firebase / payment keys private, and regenerate any stream key you shared.