Commands are current as of writing. Before installing, check the official repo MHSanaei/3x-ui — the install script and the panel get updated.
What you’ll need
- A Lumi server (Ubuntu 22.04 by default). The IP, root login, and password are in the server card in @lumivps_bot.
- An SSH connection to the server as root: Connecting to the server.
Installation
- Script — quick and easy
- Manually via Docker
Install the panel with the official script in a single command:The script will ask for the panel’s username, password, and port, install the service, and start it. The backend is SQLite by default, with the database file at
/etc/x-ui/x-ui.db — no separate setup needed.Verify
active (running).
Managing the panel
The management menu is opened with the command:Accessing the panel
The panel opens in a browser at an address like:IP is your server’s address, PORT is the port you set during installation, and PATH is the panel’s web path (also set by the script; the exact values are shown by the x-ui command). Log in with the credentials you set during installation.
Open the panel port in the firewall
Basic setup: VLESS + Reality
Create an inbound
In the panel, open the Inbounds section and add a new one. Choose the VLESS protocol and the Reality security type — a solid default that’s hard to tell apart from ordinary HTTPS traffic.
Add a client
Inside the inbound, set up a user (client). If you like, give them a traffic limit and an expiry date.
Hand out the link or QR
The panel generates a connection string and a QR code. Pass them to whoever will be connecting.
Lumi handles the server and network; software setup is on you. Network or port issues — message @lumisup_robot.
Where to next
Marzban
A multi-user panel with subscriptions.
SSL certificate
Add HTTPS to the panel via a domain.