Video tutorial coming soon.
Deploy 3X-UI, a powerful web-based panel for managing Xray and V2Ray proxy protocols with support for multiple inbounds, users, and traffic monitoring.
Grab the automated bash script from GitHub to follow along.
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/vpn/3x-ui/3x-ui-ubuntu.sh
chmod +x 3x-ui-ubuntu.sh
sudo bash 3x-ui-ubuntu.sh
The script installs Docker, pulls the 3X-UI image, and starts the panel with auto-generated admin credentials.
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/vpn/3x-ui/3x-ui-ubuntu.sh
chmod +x 3x-ui-ubuntu.sh
sudo bash 3x-ui-ubuntu.sh
Open your browser and navigate to the 3X-UI panel:
http://YOUR-SERVER-IP:2053
The script displays your admin username and password at the end. Use them to log in and change them immediately in Panel Settings.
Go to Inbounds → Add Inbound. Choose your protocol (VLESS, VMess, Trojan, Shadowsocks), set a port, and configure users. Share the generated link or QR code with clients.
| Port | Protocol | Purpose |
|---|---|---|
| 2053 | TCP | Web UI (Admin Panel) |
/root/docker/3x-ui/docker-compose.yml