Skip to main content

Network ports and connections

This page lists all vStack HCP services that accept or open network connections: management VM and node ports, connection directions, connections outside the cluster and the accounts that the installation creates. How the network segments are built — Cluster network (SDN); how to restrict access — Secure cluster configuration.

Nodes and the management VM exchange data over segments that are not routed to user networks: the cluster network, the storage network and the isolated networks segment. The routed network — the public access network — carries the Center web interface and API, SSH, virtual machine (VM) consoles and the service connections of the management VM to the nodes: component installation, image distribution, VM transfer. That is why you restrict access to this network to the networks of administrators and of systems that work through the API.

Network segments​

SegmentWho is in itWhat it carriesRouting
Public access networknodes, the external interface of the management VM (.250), floating addresses of pools (.201 and up), the default gatewaythe Center web interface and API, SSH to the management VM and nodes, VM consoles, service connections of Center to the nodesyes; access only from the networks of administrators and of systems that work through the API
Cluster networknodes, the management VM (.250), the floating address of the cluster manager (.1); 172.17.127.0/24 by defaultmessage broker, metrics, commands to the cluster managerno
Storage networknodesnode disks for pools (iSCSI), cluster manager exchange between nodesno
Isolated networks segmentnodes, floating addresses of pools (.201 and up) for NVMe-oFisolated VM networks (VXLAN, Geneve); disks of VMs that run on a node other than the node of their pool (NVMe-oF/TCP)no
Router service isolated networkthe management VM (0.9.0.250), Edge routers; 0.9.0.0/16commands to routers, packages for routerswithin the cluster
VM networksVMs, Edge routerstenant trafficas the customer decides

Management VM: inbound ports​

PortServiceListens onWho connectsAccess
443/tcpweb server: web interface, API /.api/, VM console /.wss/, OS image upload from a file /.upload/all VM addressesadministrators, systems through the API, Edge routersTLS 1.2 and 1.3; user session; lists of allowed networks for the API and image upload (api_fw) and for the VM console (wss_fw)
80/tcpweb serverall VM addresses—redirect to 443 only
22/tcpSSHall VM addressesadministratorsSSH sign-in
123/udpntpd time serviceall VM addresses—time synchronization of the VM itself
5672/tcpRabbitMQ message broker127.0.0.1; the address in the cluster network; the address in the router service isolated networkCenter services; node controllers; Edge routersa separate broker account and virtual host for each service
8086/tcpInfluxDB metricsthe address in the cluster networknode metric services, Centeraccount with a password

Only on 127.0.0.1, not reachable from outside the VM: the cluster HTTPS endpoint 8080 (the web server publishes it externally on 443), PostgreSQL 5432, the RabbitMQ management interface 15672, the Erlang service ports 4369 and 25672, the InfluxDB backup service 8088.

The web server serves the web interface files and passes to the HTTPS endpoint only requests with the /.api/, /.wss/ and /.upload/ paths; for /.api, /.wss and /.upload without the trailing slash, it responds with 404. The endpoint returns the cluster map /.api/.status only with a valid user session and only what this user is allowed to see. Grafana and the /grafana/ path are removed in 3.3: the Center web interface shows node and VM charts itself, and the upgrade from 3.2 removes Grafana from the management VM.

Node: ports that are always open​

PortServiceListens onWho connectsPurpose
22/tcpSSHall node addressesadministrators; the management VMadministration; installation and update of node components
123/udpntpd time serviceall node addresses—node time synchronization
514/udpsyslogdall node addresses; accepts messages from the storage networkneighboring nodescluster logs
1040/udpcluster manager ccrdnode address in the storage networkcluster managers of neighboring nodesleader election and agreement on the cluster state
1041/tcpcluster manager command executor runnernode address in the storage networkcluster manager of the leaderopening and closing pools, floating addresses, node fencing
1100/tcpcluster manager, control endpointthe .1 floating address of the cluster network, only on the leaderCenter; utilities on the nodesstate of nodes and services, commands to the cluster
3260/tcpnode iSCSI targetnode address in the storage network and 127.0.0.1neighboring nodesnodes serve each other the disks that pools are built from
4420/tcpNVMe-oF/TCP target (SPDK)floating address of the pool in the isolated networks segmenthypervisor of the node where the VM runsdisks of a VM that runs on a node other than the node of its pool
4789/udpVXLANnode address in the isolated networks segmentnodestransport of isolated VM networks
9103–9105/tcpmetrics of the storage, cluster and node services127.0.0.1only the services of the node itself—

Open only when the corresponding feature is used:

PortServiceWhen
6081/udpGeneveisolated networks of the Geneve type
10000/tcpNDMPbackup by external software over NDMP

The NRPE agent (5666/tcp), the telegraf metric collector and the vmagent collector (8429/tcp) are not configured on the nodes by Center 3.3: the node controller itself writes the node metrics to InfluxDB on the management VM, and the VM metric service writes the VM metrics.

Node: ports open while VMs run and during operations​

PortWhen openServiceListens onWho connects
10001–65530/tcp — VM graphical console; 2050–65535/tcp — text consolewhile the VM is running; the numbers are assigned to the VM at creationbhyve hypervisornode address or floating address of the pool in the public access networkthe management VM: the user gets the console through 443 using a one-time link that is valid for 300 s
221–238/tcpVM live migration, on the receiving nodebhyve hypervisornode addresssource node
201–218/tcpcold migration of a VM and moving its disks, distribution of OS images across poolsstorage controllerall node addresses; the port closes after the first connection or after a timeout of 30–300 ssending node; the management VM

The 201–218 and 221–238 ranges are set by Center parameters (sndrcv_port_min, sndrcv_port_max, LM_PORT_MIN, LM_PORT_MAX). Both are below 1024, so a port scanner shows them under the names of other services from /etc/services.

Connection directions​

The direction is from the side that opens the connection.

FromToPortSegmentPurpose
administrators, systems through the APImanagement VM443/tcppublic accessweb interface, API, VM console, image upload from a file
node controllers: VM, network, storage, nodemanagement VM5672/tcpclusterCenter commands, responses and events
node metric services: the node controller, the VM metric servicemanagement VM8086/tcpclustermetrics
Centercluster manager leader, address .11100/tcpclustercluster state, commands to pools and nodes
management VMnodes22/tcppublic accessdeployment of the node controller configuration
management VMnode, VM console port10001–65530, 2050–65535public accessVM console for the user
management VMnode201–218/tcppublic accessdistribution of OS images across pools
nodenode1040/udp, 1041/tcpstoragecluster manager
nodenode3260/tcpstoragedisks for pools
nodenode that serves the pool4420/tcpisolated networksVM disks
nodenode201–218/tcp, 221–238/tcppublic accessVM and disk transfer
nodenode4789/udp, 6081/udpisolated networksisolated VM networks
nodenode514/udpstoragecluster logs
Edge routermanagement VM, 0.9.0.2505672/tcp, 443/tcprouter service isolatedcommands to the router, packages for the router

Connections outside the cluster​

After installation, the cluster uses default addresses (public NTP pools, the vStack repository); set your own — vStack support does this during installation. Neither the management VM nor the nodes send telemetry to the vendor.

FromToPortPurposeWhere it is set
management VM, nodestime servers123/udptime synchronizationthe ntp_servers parameter of the management VM, on the nodes — the time service settings; set by vStack support
management VM, nodesDNS53/udp, 53/tcpname resolutionwhen the management VM is deployed; on the nodes — during installation
management VM, nodesvStack repository or customer mirror443/tcpupdateswhen the management VM is deployed; on the nodes — the --repo-url option of the update script
management VMOS image library source443/tcpdownload of guest OS imagesregistered by an administrator; not set by default
management VMmail server25/tcp or the configured portemails about security event log events, only over STARTTLS or TLSoff until a mail server is set — Receive log events by email
Windows VMsKMS server1688/tcpWindows activationthe KMS_HOST Center parameter

Accounts that the installation creates​

WhereAccountHow it is set
noderoot SSH keysthe installer places the key that the management VM uses to access the nodes
management VMservice accounts: PostgreSQL (mgmt — the database owner; postgres — only locally through a Unix socket), RabbitMQ (admin and one for each service), InfluxDB (admin and the metric write account)passwords are generated during installation: 24 characters, stored in a directory accessible only to root, and in the service configuration files with 0600 permissions
Centersuperadmin — the built-in account with the Cluster master role for the whole cluster; no other roles are assigned to ita vStack engineer hands over the password of the first account when the cluster is delivered; change it at the first sign-in. After 4 failed sign-in attempts, the account is locked for 30 minutes, like any other account

Access restriction tools​

WhereToolWhat it does
customer switches and firewallssegment separationservice segments are not routed to user networks; customer switches and firewalls restrict access to the nodes
management VMpf firewall, the pf_enabled parameteroff after installation. When on, it filters the external interface: it allows 443, 80, ICMP and SSH from the pf_admin_nets networks; for SSH, it limits the connection rate and blocks sources that exceed the limit
management VMweb server network lists api_fw and wss_fwrestrict where the API and image upload from a file (api_fw) and the VM console (wss_fw) can be reached from; an empty list means no restriction
Edge routerrouter firewallapplies tenant rules in the specified order; there are no rules by default; set a deny-all rule first, then the allow rules — Configure firewall rules

The pf_enabled, pf_admin_nets, api_fw and wss_fw parameters are management VM deployment settings, and vStack support changes them. How to apply these tools — Secure cluster configuration.