Installation
Connect over SSH asroot: Connection. Commands are for Ubuntu/Debian, check the latest version in the MHSanaei/3x-ui repo.
- Script
- Docker
-
Install – the official script:
The script installs and starts the service. It either asks for the panel username, password, and port or generates them: save them. The panel database is
/etc/x-ui/x-ui.db. -
Check – the status should be
active (running):
x-ui menu or in the panel settings: an exposed panel with default credentials gets brute-forced within hours.
Access
Panel address:IP– the Server IP on the card: @lumivps_bot → My servers → server.PORT– the panel port set during installation.PATH– the panel’s web path, also set by the script.x-uishows the exact port and path.
x-ui menu or an nginx reverse proxy. In ufw, open only the ports you use.
x-ui menu
Available with the script install, opened with thex-ui command:
- Reset Username & Password – change the username and password.
- Change Port – change the panel port.
- View Current Settings – the current panel port and path.
- Restart – restart the service, same as
systemctl restart x-ui. - SSL Certificate Management – issue an SSL certificate for a domain.
VLESS + Reality
- Inbound – in Inbounds, add a new one: protocol VLESS, security Reality. Such traffic is hard to tell apart from ordinary HTTPS. Open the inbound port in
ufwtoo. - Client – inside the inbound, add a user and, if needed, set a traffic limit and an expiry date.
- Link or QR – the panel generates a connection string and a QR code, pass them to the user.
- App – import the link or QR into a client:
- v2rayNG – Android.
- NekoBox – Android and Windows.
- Hiddify – all platforms.