Mihomo Dashboard, The Official One, XD
Just want to try it? Open https://d.metacubex.one and enter your mihomo address + secret.
Self-host with Docker in 30 seconds:
docker run -d --name metacubexd -p 8080:80 ghcr.io/metacubex/metacubexd:latest
# Open http://localhost:8080Full all-in-one (UI + kernel + agent):
curl -O https://raw.githubusercontent.com/metacubex/metacubexd/main/docs/docker-compose.yml
# Edit .env with your secrets, then:
docker compose up -d| Overview | Proxies |
|---|---|
| Connections | Rules |
|---|---|
| Logs | Config |
|---|---|
| Overview | Proxies | Connections |
|---|---|---|
| Rules | Logs | Config |
|---|---|---|
Use one of these official hosted-panel deployments:
| Site | URL |
|---|---|
| Primary | https://d.metacubex.one |
| GitHub Pages | https://metacubex.github.io/metacubexd |
| Cloudflare Pages | https://metacubexd.pages.dev |
metacubexd ships in three forms from one codebase:
| Form | Who hosts the UI | Who runs the kernel | Best for |
|---|---|---|---|
| Hosted panel (classic) | official sites, static files, or the standalone panel container | your own remote mihomo | pointing a browser at an existing mihomo |
| Desktop app | the app (bundled) | the app supervises a bundled mihomo | a managed runtime on one machine |
| All-in-one server | the Docker image | the container's bundled mihomo | a router / NAS / VPS |
The classic pure-panel mode still works against any remote mihomo — the kernel-control and profile features simply stay hidden when the dashboard isn't talking to a bundled agent.
Enable and protect the external controller in your mihomo config.yaml:
external-controller: 0.0.0.0:9090
secret: 'replace-with-a-strong-secret'Binding to 0.0.0.0 exposes the controller on every interface. Restrict it
with a firewall, use a strong secret, and configure
external-controller-cors
for the exact dashboard origin.
Then open one of the official hosted sites listed above and enter your mihomo
{url, secret}, or self-host the static assets via external-ui:
# Clone the prebuilt gh-pages branch
git clone https://github.com/metacubex/metacubexd.git -b gh-pages /etc/mihomo/ui
# Set external-ui in your config:
# external-ui: /etc/mihomo/ui
# Update to the latest build later:
git -C /etc/mihomo/ui pull -rghcr.io/metacubex/metacubexd is another distribution of the hosted-panel
architecture: it serves only the dashboard over HTTP on port 80; it does not
bundle or supervise mihomo. Point it at a mihomo instance you run separately.
One panel can manage several backends, and HTTP hosting avoids the browser's
HTTPS-to-HTTP mixed-content block when the backend is local.
docker run -d --name metacubexd -p 127.0.0.1:8080:80 \
ghcr.io/metacubex/metacubexd:latestSet DEFAULT_BACKEND_URL to pre-populate the connect form (and skip the
"no backend detected" prompt on first load). The container's entrypoint maps it
to the Nuxt runtime config, so it ships in every served HTML response without
rebuilding the image:
docker run -d --name metacubexd -p 127.0.0.1:8080:80 \
-e DEFAULT_BACKEND_URL=http://192.168.1.10:9090 \
ghcr.io/metacubex/metacubexd:latestThe URL is only a default — users can still edit it on the connect screen, and saved endpoints take precedence on later visits.
For a safe starting point for the separately managed kernel, see the minimal Mihomo configuration example. Review its network settings before making the controller available outside the local machine.
Download the installer for your platform from the latest release:
| OS | Arch | File |
|---|---|---|
| macOS (Apple Silicon) | arm64 | MetaCubeXD-<version>-mac-arm64.dmg |
| macOS (Intel) | x64 | MetaCubeXD-<version>-mac-x64.dmg |
| Windows | x64 | MetaCubeXD-<version>-win-x64.exe |
| Windows | arm64 | MetaCubeXD-<version>-win-arm64.exe |
| Debian / Ubuntu | x64 | MetaCubeXD-<version>-linux-amd64.deb |
| Debian / Ubuntu | arm64 | MetaCubeXD-<version>-linux-arm64.deb |
| Fedora / RHEL / SUSE | x64 | MetaCubeXD-<version>-linux-x86_64.rpm |
| Fedora / RHEL / SUSE | arm64 | MetaCubeXD-<version>-linux-aarch64.rpm |
| Arch Linux | x64 | MetaCubeXD-<version>-linux-x64.pacman |
| Arch Linux | arm64 | MetaCubeXD-<version>-linux-aarch64.pacman |
| Other Linux | x64 | MetaCubeXD-<version>-linux-x86_64.AppImage |
| Other Linux | arm64 | MetaCubeXD-<version>-linux-arm64.AppImage |
The desktop app bundles its own mihomo kernel and auto-configures the local endpoint — you don't enter any address. Manage profiles, edit configs, and start/stop the kernel directly inside the app.
These builds are unsigned. Download them only from this repository's official GitHub releases, verify that the URL and release tag are correct, and decide whether you trust the artifact before bypassing an OS warning. The project does not currently provide publisher identity verification through code signing.
macOS — Gatekeeper blocks unsigned apps ("MetaCubeXD is damaged and can't
be opened"). After dragging the app to /Applications, strip the quarantine
attribute:
xattr -dr com.apple.quarantine /Applications/MetaCubeXD.app…or right-click the app → Open → Open in the confirmation dialog.
MetaCubeXD can also be installed through the Homebrew cask in this repository:
brew tap metacubex/metacubexd https://github.com/MetaCubeX/metacubexd.git
brew install --cask metacubexdWindows — SmartScreen shows "Windows protected your PC". Click More info → Run anyway.
Linux — install the native package for your distribution, or make the AppImage executable and run it:
# Debian / Ubuntu
sudo apt install ./MetaCubeXD-*-linux-*.deb
# Fedora / RHEL
sudo dnf install ./MetaCubeXD-*-linux-*.rpm
# openSUSE
sudo zypper install ./MetaCubeXD-*-linux-*.rpm
# Arch Linux and derivatives
sudo pacman -U ./MetaCubeXD-*-linux-*.pacman
# Distribution-independent AppImage
chmod +x MetaCubeXD-*-linux-*.AppImage
./MetaCubeXD-*-linux-*.AppImageSystem proxy and TUN are separate features. System proxy changes the current user's OS proxy settings through platform tools and does not install the privileged helper; platform policy may still request authorization. TUN routes machine traffic at the network layer and requires the one-time helper installation described in TUN mode (desktop).
TUN routes traffic at the network layer, including applications that do not honor per-app proxy settings (unlike the mixed proxy port, which only catches apps you point at it). Because system-level routing needs root/admin, the desktop app installs a small privileged helper the first time you enable TUN — a background service that performs the privileged network setup on the app's behalf. Enabling TUN therefore prompts for administrator authorization the first time (the OS elevation dialog). Activate a profile before enabling TUN. The helper persists across sessions, so later enables normally reuse it.
The app waits briefly for the helper to become ready. If an existing helper cannot be reached or uses an incompatible protocol, the app attempts one repair; this can request administrator authorization again. If activation fails, the app removes the TUN settings and attempts to restart the normal proxy backend.
The helper is installed by an unsigned app. Confirm that you downloaded the app from the official release page before approving its administrator prompt.
Per-OS notes
osascript "wants to make changes" administrator
prompt. The kernel binds the system's utun interface.metacubexd-helper Windows
service, installed through a UAC prompt. Stopping the service also stops its
helper and kernel processes. The build ships wintun.dll alongside the
kernel, which mihomo's wintun backend needs — no separate download.pkexec (the GNOME/PolicyKit authorization dialog). On a headless
box without a Polkit agent you may need to install/enable one.If TUN takes down your network
TUN reroutes default traffic, so a bad config or a stuck tunnel can drop connectivity. Two recoveries:
No open issues yet, or sync has not completed.