Self-host 3x-ui
v3.11.0Web control panel for Xray-core proxy servers
docker compose up -d- Stars
- 49 858
- Port
- 2053 (Web panel UI)
ghcr.io/mhsanaei/3x-uiWhat is 3x-ui?
3x-ui is an open-source web control panel, GPL-3.0 licensed, that lets you deploy and run Xray-core proxy servers from a dashboard instead of editing JSON on the command line. It is an enhanced fork of alireza0's original X-UI, with broader protocol coverage and per-client traffic accounting. Inbound protocols include VLESS, VMess, Trojan and Shadowsocks, WireGuard plus its DPI-resistant AmneziaWG variant (embedded in the panel, no kernel module needed), MTProto, HTTP, SOCKS, Dokodemo-door, TUN, and also TUIC v5 / Hysteria2, over transports such as WebSocket, gRPC and XHTTP protected by TLS, XTLS or REALITY; fallbacks allow several protocols on a single port. Client management covers data quotas, expiry dates, IP limits enforced through Fail2ban, HWID device caps, live online status, share links and QR codes, while the built-in subscription server answers with raw, JSON or Clash content depending on the client's User-Agent. Operators can manage several servers from one panel, route through WARP, NordVPN or PIA outbounds, define custom rules with bundled geosite/geoip data, and automate everything through a REST API with scoped tokens; Telegram and Discord bots provide monitoring and admin actions. The panel is a PWA with dark and light themes in 13 languages. Self-hosting is done with the official bash script (systemd service plus an x-ui management menu, random credentials and default port 2053), with Docker Compose from the ghcr.io/mhsanaei/3x-ui image, or manually; data lives in SQLite by default or optionally PostgreSQL. The author describes the project as meant for personal use only, and asks that it not be deployed in production.
3x-ui alternatives
v2rayAOpen-source, self-hosted proxy client with a browser UI over its own Xray-based core: subscriptions for VMess, VLESS, Hysteria2 and more, plus transparent proxy.Comparev2rayA with 3x-ui
naiveproxyYurich Panel is a Bash script that automates deploying a proxy service on Ubuntu VPS with Caddy, Naive transport, Xray, Hysteria 2, WARP, and Unbound DNS.Comparenaiveproxy with 3x-ui
ZoraxyOpen-source reverse proxy manager for self-hosted services, with a web UI, ACME TLS, TCP/UDP forwarding, an uptime monitor and a built-in SSH terminal.CompareZoraxy with 3x-ui
Traefik ManagerSelf-hosted web UI for managing Traefik reverse proxy — create routes, services, middlewares, certificates, and monitor logs and CrowdSec without editing YAML by hand.CompareTraefik Manager with 3x-ui
wireguard-uiSelf-hosted, open-source web UI for administering a WireGuard VPN: manage peers, hand out configs via QR code, file, email or Telegram, and tweak server settings.Comparewireguard-ui with 3x-ui
tgbotvpscpSelf-hosted Telegram bot with web dashboard for monitoring and managing multiple VPS servers, featuring real-time metrics, service management, and web terminal.Comparetgbotvpscp with 3x-ui
meridianMeridian is an open-source CLI that deploys censorship-resistant VLESS+Reality, XHTTP, and Hysteria2 proxy servers on your VPS with automatic hardening.Comparemeridian with 3x-ui
openvpn_webpanel_managerSelf-hosted proprietary VPN panel managing OpenVPN, Cisco, L2TP, WireGuard, Sing-box with users, resellers, multi-node, REST API. Commercial license required.Compareopenvpn_webpanel_manager with 3x-ui
Should you self-host 3x-ui?
3x-ui scores 85/100 on selfhost.directory (how scoring works) and ranks #1 of 34 in Network Management. It has 49 858 GitHub stars, +1 526 in the last 30 days.
It shipped 10 stable releases in the past year. The latest, v3.11.0, came out on 25 October 2026. New versions land roughly every 2 weeks.
Setup is easy: most people get it running in one sitting. An official Docker image is available. It is GPL-3.0-licensed and written mostly in Go.
Its closest alternative on selfhost.directory is netbox (79/100, 21 877 stars). 3x-ui scores higher overall. See 3x-ui vs netbox side by side.
Features
- Built-in subscription server
- Custom routing & load balancing
- Login brute-force protection
- Multi-language UI
- Multi-node Management
- Multi-protocol proxy inbounds
- Multi-user support
- Post-quantum / AmneziaWG WireGuard
- REALITY & XTLS TLS security
- REST API
- Telegram & Discord bot management
- TOTP two-factor authentication
- Traffic quotas per client
- Traffic statistics
3x-ui README
English | فارسی | العربية | 中文 | Español | Русский | Türkçe
3X-UI is an advanced, open-source web control panel for managing Xray-core servers. It provides a clean, multi-language interface for deploying, configuring, and monitoring a wide range of proxy and VPN protocols — from a single VPS to multi-node deployments.
Built as an enhanced fork of the original X-UI project, 3X-UI adds broader protocol support, improved stability, per-client traffic accounting, and many quality-of-life features.
Important
This project is intended for personal use only. Please do not use it for illegal purposes or in a production environment.
- Multi-protocol inbounds — VLESS, VMess, Trojan, Shadowsocks, WireGuard, AmneziaWG, TUIC v5, Hysteria2, MTProto, HTTP, SOCKS (Mixed), Dokodemo-door / Tunnel, and TUN.
- Modern transports & security — TCP (Raw), mKCP, WebSocket, gRPC, HTTPUpgrade, and XHTTP, secured with TLS, XTLS, and REALITY.
- AmneziaWG built in — DPI-resistant WireGuard runs inside the panel on a userspace network stack, with no kernel module, DKMS, or extra packages to install.
- Native TUIC v5 server — In-process Go QUIC server with Xray routing and per-client traffic accounting; BBR and New Reno are available server-side. CUBIC is preserved in the client profile but currently falls back to New Reno on the server.
- MTProto proxies — per-client FakeTLS secrets, ad-tags, and quotas, applied live without dropping existing connections.
- Fallbacks — serve multiple protocols on a single port (e.g. VLESS and Trojan on 443) using Xray's fallback support.
- Per-client management — traffic quotas, expiry dates, IP limits with trusted-address exemptions, HWID device limits, scheduled renewal cycles, live online status, and one-click share links, QR codes, and subscriptions.
- Traffic statistics — per inbound, per client, and per outbound, with reset controls.
- Multi-node support — manage and scale across multiple servers from a single panel, including cloning inbounds onto other nodes.
- Outbound & routing — WARP, NordVPN, PIA, custom routing rules, load balancers with balancer-to-balancer fallback, and outbound proxy chaining. Bundled geosite and geoip categories are browsable straight from the rule editor.
- Built-in subscription server — raw, JSON, and Clash output, auto-selected from the client's User-Agent, plus custom page templates.
- Telegram and Discord bots for remote monitoring and management.
- RESTful API with scoped, optionally expiring tokens and an in-panel API reference.
- Installable panel (PWA) — pin 3X-UI to a desktop or phone home screen.
- Flexible storage — SQLite (default) or PostgreSQL.
- 14 UI languages with dark and light themes.
- Fail2ban integration for enforcing per-client IP limits.
Click to expand
More in Network Management
adguard-buddySelf-hosted dashboard for monitoring and synchronizing multiple AdGuard Home servers with merged query logs, statistics, and drift detection.
AdGuard HomeSelf-hosted open-source DNS server blocking ads/trackers network-wide. Supports encrypted DNS, parental controls, safe search, per-client config, DHCP.
AdGuardHome-SyncSelf-hosted AdGuard Home config synchronizer: mirrors filters, DNS rewrites, DHCP, clients and settings to replicas, with a web dashboard, API and Prometheus metrics.
autoxposeSelf-hosted open-source tool that auto-creates DNS records and configures reverse proxies with SSL for Docker containers using labels.
blocky-lists-updaterSelf-hosted companion for blocky DNS that downloads, merges, and serves blocklists via static file server, then triggers blocky to refresh without restart.
CELERITY-panelSelf-hosted open-source web panel for Hysteria 2 and Xray VLESS with one-click node setup, server groups, load balancing, ACL filtering, and subscriptions.
ChirpStackSelf-hosted open-source LoRaWAN Network Server for private or public networks with web-based gateway, device, and tenant management.
cobblerCobbler is an open-source, self-hosted Linux provisioning server for PXE network installs that can also manage DHCP, DNS, TFTP boot files and yum repo mirroring.
ddnsSelf-hosted, open-source DDNS client that automatically updates DNS records on DigitalOcean, replacing services like DynDNS or No-IP with a free personal solution.
DejTunnelDejTunnel is a self-hosted, open-source web panel that automates Tinc VPN mesh network creation and management via a single bash installer on Debian/Ubuntu servers.
D-NETSelf-hosted network tool automating DDNS, dynamic CDN, port forwarding, reverse proxy, and ACME SSL certificates via web UI.
docker-ddnsSelf-hosted dynamic DNS server using Docker, Go, and Bind9 that lets you connect to home devices from anywhere using a VPS and domain.




0 comments