ControlCenter
A self-hosted control panel for Linux servers and KVM hosts, in the spirit of Cockpit.
One panel for every node. Each managed server runs the daemon, which connects out to the panel, so nodes need no open ports and no SSH keys.
Features
- Virtual machines (libvirt/QEMU/KVM): create VMs with a wizard (ISO, imported disk, PXE or empty; BIOS or UEFI with Secure Boot and TPM; Windows presets), run, shut down, reboot, pause, force off, clone, delete with or without disks. Edit vCPUs, memory, boot order, CPU mode, video, autostart or the raw XML. Hot-plug disks and NICs, change CD media, unplug links, snapshots.
- VM console: the same model as cockpit-machines: a noVNC graphical console with send-key menu, type-text, scaling and full screen, plus a serial console. VNC listens on the host's loopback only and is tunnelled through the daemon.
- Storage: filesystems, block devices with live I/O, LVM, ZFS, RAID, SMART. libvirt pools and volumes, ISO upload from the browser or download straight onto the node.
- Networking: every interface with live graphs and history, routes, DNS, WireGuard peers, libvirt networks (NAT/routed/isolated/bridge) with DHCP leases.
- Network monitor: all interfaces on all nodes, top talkers, and a map of shared subnets.
- Log collection: pull files or whole folders (globs like
/home/*/.pm2/logs) from any node into the panel, on a schedule or with Collect logs now. Incremental: only new bytes travel, rotated files are fetched again. Browse, filter, search across everything, download. Presets for PM2, nginx, Apache, Minecraft, Docker, Caddy and syslog. - Per node: services and timers, journal with live follow, Docker/Podman containers (logs, shell, pull, prune), accounts and SSH keys, package updates (pacman, apt, dnf, zypper), firewalld/ufw rules, processes, power, and a web terminal.
- VM ↔ daemon binding: a daemon running inside a VM is recognised by its SMBIOS UUID and shown as that VM's guest instead of as an unrelated machine.
- History: minute-resolution metrics for 90 days (interfaces and VMs 30 days), live 2 s data.
- Notifications: Discord alerts for offline nodes, resource thresholds and VM crashes.
Security
- First-run setup needs a token that is only readable on the server (log and
setup-tokenfile). - One admin password (bcrypt, ≥ 12 chars) plus optional TOTP 2FA with recovery codes and replay protection.
- Server-side sessions,
HttpOnly,SameSite=Strict,Secureover HTTPS, idle and absolute expiry, revocable per device. - CSRF: state-changing requests must carry this panel's
Origin. WebSockets check origin and session. - Strict CSP,
X-Frame-Options: DENY,nosniff, no referrer, HSTS on HTTPS. - Rate limits on login, 2FA, setup and enrollment.
- Nodes enroll with single-use, expiring join tokens (stored hashed) and authenticate with an ECDSA P-256 signature over a fresh nonce. The daemon pins the panel's certificate.
- Only allowlisted daemon methods and stream kinds are reachable from the browser. Every change, shell, console and transfer is audited (secrets redacted).
Run the security suite with npm run build && npm test.
Install
npm install
npm run build
PORT=4382 ./start.sh # or: sudo ./install-service.sh
Node.js 22.13 or newer (the panel uses the built-in node:sqlite). A self-signed certificate is
created on first start. Open https://<host>:4382, enter the setup token from the log, and add
your first node under Settings → Nodes.
| Variable | Default | |
|---|---|---|
PORT / HOST |
3000 / 0.0.0.0 |
Listen address |
CONTROLCENTER_DATA |
~/.controlcenter |
Database, certificates, collected logs |
CONTROLCENTER_TRUST_PROXY |
unset | 1 to trust X-Forwarded-* behind a reverse proxy |
CONTROLCENTER_NO_TLS |
unset | 1 for plain HTTP (only behind a TLS proxy or on loopback) |
Architecture
Browser ──HTTPS/WSS──▶ Panel (Nuxt 4 SPA + Nitro, SQLite)
│ /api/* REST
│ /ws/live telemetry, VM lists, node events
│ /ws/stream terminal, VNC, journal, uploads (relayed)
▲
WSS /ws/daemon (outbound from each node, signed challenge auth)
│
controlcenter-daemon: virsh, systemctl, journalctl, ip, lsblk, …
License
GPL-3.0.