Files and ports
Controller
| Path | What |
|---|---|
/opt/panel/dist/ |
The panel |
/opt/panel/dist-bin/vorticpanel |
The controller |
/opt/panel/dist-agent/panel-agent.mjs |
The node agent, served to nodes at /agent/panel-agent.mjs, with its release signature (panel-agent.sig) at /agent/panel-agent.sig |
/etc/panel/controller.env |
Settings |
/etc/systemd/system/panel.service |
The service. It runs as the panel user, can only write in /var/lib/panel, makes files only that user can read, and can’t reach 169.254.169.254 (the cloud metadata service) |
/etc/systemd/system/panel-backup.timer, panel-backup.service |
The hourly copy of the database and secret key, by /usr/local/sbin/panel-backup |
/var/backups/panel/ |
Hourly and daily copies of the database and secret.key, and a copy taken before each upgrade. See Backing up the controller. |
/var/lib/panel/panel.db |
The database. Back it up. |
/var/lib/panel/secret.key |
The encryption key. Back it up, separately. |
/var/lib/panel/images/ |
Images the controller hands to its nodes, such as a Windows Server build. Only nodes can download them. |
/opt/panel/*.old |
The version before the last upgrade, for going back by hand |
/usr/local/sbin/panel-backup |
Takes those copies, as the panel user; systemctl start panel-backup takes one now |
/etc/panel/backup.env |
Optional: PANEL_BACKUP_RSYNC, somewhere off the server to copy them to with rsync over SSH (all but secret.key) |
/etc/systemd/system/panel-update.path, panel-update.service |
Updates from the panel. When staff click Update to …, the panel writes the version it wants to /var/lib/panel/update-request; this root service checks that release’s signature and SHA-256, unpacks it in /var/lib/panel-update/ and runs its installer. Logs: journalctl -u panel-update. |
/etc/panel/host-firewall.nft, panel-host-firewall.service |
The controller’s firewall, the nftables table inet panel_host: only SSH, 80, 443 and ports given with --open-ports answer from outside (see Ports). /etc/panel/firewall.env remembers --open-ports and --no-firewall for upgrades. |
/etc/panel/proxy.env |
Remembers --no-proxy for upgrades, updates from the panel included |
/etc/caddy/Caddyfile |
HTTPS for the panel’s address, the earlier addresses nodes may still use, and GPU instances’ JupyterLab addresses under the notebook domain, each with a certificate of its own. Written by the installer; one it didn’t write is kept as Caddyfile.before-panel. |
Logs: journalctl -u panel.
Node
| Path | What |
|---|---|
/opt/panel-agent/panel-agent.mjs |
The agent. When it was installed from a signed release, panel-agent.mjs.signed-only beside it means the node only takes agents signed with the release key from then on. |
/etc/panel-agent/agent.json |
Controller address, node ID and credential (root only) |
/etc/panel-agent/controller.pub |
The panel’s key the node trusts (root only): it only acts on what the panel signs with it. See How nodes know it’s your panel. |
/var/lib/panel-agent/images/ |
Cached OS templates and ISOs |
/var/lib/panel-agent/seeds/ |
Cloud-init seed images |
/var/lib/panel-agent/state/ |
Undelivered task results, backup manifests, the firewall rules it loads at boot, imports’ working files (imports/), the panel’s last known addresses (controller-addresses.json, used when its name can’t be looked up), the servers saved on the node that the panel doesn’t place there and that are cut off from the network (unlisted.json), and wireguard.key, the node’s private key for the encrypted tunnel between nodes (root only; it never leaves the node) |
/var/lib/panel-agent/migration_ed25519 |
Its SSH key for moves and imports |
/var/lib/panel-agent/network-backup-…/ |
The network settings from before the install script moved the network onto the bridge, for putting it back by hand (in state/network-backup-…/ when Set up the bridge in the panel made it) |
/etc/ssh/sshd_config.d/60-panel-moves.conf |
Raises SSH’s limit on connections waiting to sign in, for moves from other nodes. The agent adds it only while sshd has OpenSSH’s own limit; one set by hand is left alone. |
/var/lib/libvirt/images/ |
Server disks, for directory (qcow2) storage |
LVM volume group panel, thin pool panel/data |
Server disks, when the install script was given --storage-disk |
/etc/lvm/lvmlocal.conf |
A few lines the install script adds so the node’s own LVM leaves LVM inside servers’ disks alone |
/etc/udev/rules.d/12-panel-guest-disks.rules, /etc/udev/rules.d/61-panel-guest-disks.rules |
Stop the node reading filesystem labels, UUIDs and RAID members from inside servers’ LVM and ZFS volumes (srv_…), so nothing a server writes on its disk is mounted, assembled or named on the node. The install script adds them, and the agent puts them back as they should be when it starts. |
/etc/default/grub.d/60-panel-guest-disks.cfg |
Turns off GRUB’s os-prober (GRUB_DISABLE_OS_PROBER=true), which would mount servers’ disks when GRUB’s settings are rebuilt after a kernel update. On Rocky and Alma, whose GRUB reads only /etc/default/grub, the same line is added at the end of that file. The install script and the agent add them. |
/etc/systemd/system/panel-agent.service |
The service, running as root |
/etc/systemd/resolved.conf.d/panel-dns.conf |
Only on a node whose name lookups failed with systemd-resolved: adds 1.1.1.1 and 8.8.8.8 to its DNS servers (see Troubleshooting). The agent adds it itself. |
/etc/systemd/system/panel-firewall.service |
Loads the servers’ firewall (/var/lib/panel-agent/state/firewall.nft), the private networks’ tunnel guard (vxlan.nft) and the GPU instances’ guards (containers/guard.nft, containers/guard-tc.sh) when the node starts, before libvirt and Docker start anything. One that’s empty or won’t load, or a servers’ firewall that isn’t there, leaves those servers or instances cut off from the network until the agent loads one that works. The agent adds it itself. |
Logs: journalctl -u panel-agent. To take all of this off a machine, see Uninstalling the agent.
On the node, servers are libvirt domains named after their server ID (srv_…), so virsh list, virsh dominfo srv_… and the other virsh commands work as usual. The servers’ firewall is the nftables table bridge panel (nft list table bridge panel), and the private networks’ tunnel guard is inet panel_vxlan. The encrypted tunnel to the other nodes is the WireGuard interface panelwg0 (wg show panelwg0). Servers plug into the bridge br-public, which the install script makes from the node’s public network unless it was given --no-bridge.
A GPU container host also has /etc/docker/daemon.json, /etc/cdi/nvidia.yaml, panel-nvidia-cdi.service, and with user namespaces on, dockremap lines in /etc/subuid and /etc/subgid; see the files it adds.
Ports
Open on the controller
| Port | From | For |
|---|---|---|
| TCP 443 | Browsers, API clients and every node | The panel, the API, consoles, GPU instances’ JupyterLab (with a notebook domain) and the nodes’ agent connections, through Caddy. UDP 443 is open too, for HTTP/3. |
| TCP 80 | Anyone | Caddy’s certificate checks and the redirect to https://. A panel installed with --no-domain serves everything on port 80 instead. |
| TCP 22 | You | SSH, for running the installer and upgrades |
| TCP and UDP 53 | Anyone | Only when PowerDNS runs on the controller and serves customers’ zones |
The controller itself listens on 127.0.0.1:8080 only (PANEL_LISTEN); Caddy passes everything to it, WebSockets included. The installer’s firewall lets in only the ports above (for SSH: port 22, the port sshd uses, and the port of any SSH session open during the install), ping, and any ports given with --open-ports, and drops the rest. Where ufw or firewalld is already on, or the controller is also a node, it adds no firewall of its own and leaves those ports to you. A cloud provider’s firewall still applies on top: open 80 and 443 there too.
Open on a node
Nothing on a node has to accept connections from the controller or the internet for the panel to work: the agent connects out to the controller, and consoles (VNC) listen on the node’s 127.0.0.1 only, each with a password only the node’s agent uses. The install script installs and starts an SSH server, which nodes need between themselves:
| Port | From | For |
|---|---|---|
| TCP 22, or the port SSH is moved to | Your other nodes, on the management network | Moving servers between nodes. A move’s memory and disks go through the SSH connection to ports 49152–49215 on the target node’s loopback (127.0.0.1), so nothing else is opened for it. |
| UDP 51871 | Your other nodes, on the management network | Private networks: the encrypted tunnel between nodes (WireGuard). Open only to the nodes that share a private network with this one. |
| UDP 4789 | Your other nodes, on the management network | Private networks (VXLAN) to and from a node that can’t run the tunnel. Through the tunnel, VXLAN is only taken on panelwg0. Each node only takes a private network’s traffic from the other nodes with servers on that network, and drops the rest. |
| TCP and UDP 40000–49151 | Customers | GPU container hosts only: the ports forwarded to GPU instances. See Reaching an instance. |
Customers’ servers have their own addresses on the node’s bridge; their traffic doesn’t go to ports on the node.
Connections out
| From | To | Port | For |
|---|---|---|---|
| Nodes | The controller’s address (PANEL_PUBLIC_URL) |
TCP 443 (80 on a --no-domain panel) |
The agent connection, console streams, JupyterLab streams from GPU container hosts, the install script and agent updates, images kept on the controller, and SFTP backups, which go through the controller |
| Controller | vorticpanel.com |
TCP 443 | License check-ins and new versions |
| Controller | Your SMTP server | TCP 587 (or 465, 25) | |
| Controller | Webhook URLs | TCP 443, or the port in the URL | Webhooks |
| Controller | PowerDNS’s API | TCP 8081, usually loopback | Pushing zones |
| Controller | Backup storage | TCP 443 (S3), or the SFTP server’s port (22) | Checking storage, tidying old backups, controller backups, and SFTP backups passed on from nodes |
| Nodes | S3 backup storage | TCP 443 | Server backups and restores. Nodes don’t connect to SFTP storage themselves. |
| Nodes | The internet | TCP 80 and 443 | Installing packages, and downloading OS templates and ISOs from their links |
| Controller | Source panels | The address you enter, e.g. TCP 4085 for Virtualizor | Imports: reading the source panel’s API |
| Nodes | Source hypervisors | TCP 22, or the hypervisor’s SSH port | Copy-mode imports: each node that copies signs in to the source hypervisor over SSH as root and pulls the disk. Adopting needs nothing. |
WebSocket paths
| Path | Used by |
|---|---|
/agent/v1/connect |
Each node’s connection |
/agent/v1/console/… |
A node’s side of a console session |
/agent/v1/notebook/… |
A GPU container host’s side of a JupyterLab connection |
/console/v1/… |
The browser’s side of a console session |
With a notebook domain, JupyterLab’s own WebSockets (kernels and terminals) also arrive on any path of the instances’ addresses under that domain.