Commands are current as of writing. Before installing, check the official repos Gozargah/Marzban and Marzban-scripts — the script and panel commands get updated.
Marzban or 3X-UI
Both are panels over Xray. 3X-UI is simpler when you have few connections and manage them by hand. Marzban is more powerful for multi-user setups: user management, limits, expiry dates, and — most importantly — subscription links instead of handing out each config by hand.What you’ll need
- A Lumi server (
@lumivps_bot) — even a base VPS-0 works. The default OS is Ubuntu 22.04. - The IP, login (
root) and password from the server card in the bot — that’s how you connect over SSH. - For the dashboard to work properly — a domain and SSL (the panel won’t open on a bare IP).
Installation
Run the official script
marzban management command appears (status, logs, restart).Create an administrator
Set up a sudo admin to log in to the panel:The command will ask for a username and password — these are what you’ll use to log in to the dashboard.
Open the port in the firewall
Accessing the panel
The dashboard runs on port8000 by default, at http://YOUR_DOMAIN:8000/dashboard/ (HTTPS — after setting up SSL, see /en/vps/ssl).
To quickly peek into the panel without a domain, use SSH port forwarding from your local machine:After that, open
http://localhost:8000/dashboard/ in your browser. This is for checking only — for ongoing use, set up a domain and SSL.First user
Log in to the dashboard
Open the panel at your domain and log in with the admin credentials from the step above.
Lumi handles the server and network; software setup is on you. Network or port issues — message @lumisup_robot.
Where to next
3X-UI
A simpler Xray panel — for a small number of connections.
SSL certificate
Connect HTTPS to the dashboard via a domain.