Skip to content
Security hardening, live updates and lease fixes
Verlocx

Firewall & ports

Every connection Verlocx makes, who opens it and why. Guests never need an inbound port for Verlocx.

Into the Verlocx server

FromPortPurposeNeeded
Users' browsers443/tcpPortal, REST API, browser console (/vnc)Yes
Users' browsers80/tcpRedirect to HTTPSRecommended
Guest VMs (agent)8787/tcpAgent connection to the backend (WebSocket over TLS)Yes
Guest VMs (agent)443/tcpAgent self-updates (manifest + download from the portal)For updates
Docker networks (172.16.0.0/12)5432/tcpPortal container → PostgreSQL on the hostYes — only from Docker
Portal container (Docker network)8788/tcpPortal → backend: its connection and admin calls, with the portal's own secretYes — never published, no firewall rule

Out of the Verlocx server

ToPortPurposeNeeded
Proxmox VE nodes8006/tcpAPI: clone, power, snapshots, backups, HA, console ticketsYes
Proxmox VE nodes22/tcpSSH for LVM snapshots on raw LVM storageLVM storage only
Linux guests22/tcpIn-browser SSH consoleIf you use it
Domain controllers389/tcp · 636/tcpDirectory sign-in, group lookups, removing computer objects on deleteWith Active Directory
login.microsoftonline.com443/tcpMicrosoft sign-in (Entra ID)With Microsoft sign-in
Mail server587/tcpLease warnings and owner notificationsWith e-mail
vCenter443/tcpVMware vSphere APIIn preparation

Guests to your domain (not Verlocx-specific)

Joining a VM to Active Directory needs the usual Windows domain ports from the guest network to the domain controllers:

PortService
53 tcp/udpDNS
88 tcp/udpKerberos
135/tcp + 49152–65535/tcpRPC endpoint mapper and dynamic RPC
389 tcp/udp · 636/tcpLDAP · LDAPS
445/tcpSMB
464 tcp/udpKerberos password change
3268–3269/tcpGlobal catalog

ufw on the Verlocx server

shell
ufw default deny incomingufw allow 22/tcp                                   # your own SSH accessufw allow 80/tcpufw allow 443/tcpufw allow 8787/tcp comment 'verlocx backend (agents)'ufw allow from 172.16.0.0/12 to any port 5432 proto tcp comment 'verlocx portal -> postgres'ufw enable
Ports published by Docker (443, 8787) bypass ufw's incoming rules. Restrict them at your network firewall if only certain subnets should reach them — 8787 only needs to be reachable from the guest networks. The portal listener (8788) is never published: it stays on the Docker network between the portal and the backend.

Why the agent needs no inbound port

The agent always opens the connection, to the backend on 8787, and keeps it open. Commands travel back over that connection. Before trusting the server, the agent checks that it holds the private key matching the public key in its config — so a different host on that address can't take it over.

Verify the paths

From the Verlocx server — each should connect:

shell
nc -zv pve01.example.com 8006        # Proxmox APInc -zv pve01.example.com 22          # SSH (only for raw LVM snapshots)nc -zv dc01.example.com 636          # LDAPSnc -zv mail.example.com 587          # SMTPdocker exec verlocx_portal sh -c 'nc -zv host.docker.internal 5432'   # portal → PostgreSQLdocker exec verlocx_portal sh -c 'nc -zv verlocx_backend 8788'         # portal → backend (internal)

From a guest VM (PowerShell) — the agent's path to the backend:

PowerShell
Test-NetConnection verlocx.example.com -Port 8787Test-NetConnection verlocx.example.com -Port 443Test-NetConnection verlocx.example.com -Port 8788   # must FAIL — the portal listener isn't reachable from guests

Common blocks

SymptomCause
Portal log: CONNECT_TIMEOUT host.docker.internal:5432ufw allow from 172.16.0.0/12 to any port 5432 proto tcp
Agents never come onlineGuest networks → Verlocx server on 8787
Cluster connection test times outVerlocx server → Proxmox nodes on 8006
Agent updates fail, everything else worksGuest networks → Verlocx server on 443
Portal log: ECONNREFUSED …:8788The backend has no portal_listen, or wasn't restarted after the change — not a firewall rule.
Portal log: Unexpected server response: 401VERLOCX_PORTAL_SECRET doesn't match the backend's portal_secret.
Next up

See Verlocx in action

A 30-minute walkthrough on your use case — deployments, workflows, governance.

Hypervisor

We use your details only to handle this request — privacy policy.

Type to search the docs, the user guide, all features, the product pages and the changelog.

↑ ↓ to move↵ to openesc to close