Connections and Ports
Synopsis
This page lists every network connection that a DataStream setup can open. For each one it names the side that opens the connection, the protocol and port, and what crosses it. Use it to prepare firewall rules. A setup opens only the connections its devices, targets and Director options need.
To see the connections of one setup drawn, use the Architecture Map.
Three things hold for every setup:
- VirtualMetric Cloud never connects to a Director. The Director opens every connection to it, so the link to VirtualMetric Cloud needs no inbound firewall rule. The inbound rules a setup does need are for its own Agents and devices, listed in Into the Director.
- In normal operation your log data does not go to VirtualMetric Cloud. Only configuration, health and statistics cross that link. The one exception is a Live Data capture that an operator starts, which runs for at most 60 seconds. When the console is served over HTTPS, each record's message and raw original are encrypted for the browser that started the capture. The record's time, source and sizes stay readable, so that the platform can route it. The records are not kept. See The Control Plane and Log Content.
- Agents talk only to their own Director or cluster. They need no internet access, and they download their updates from the Director.
In the tables below, you set means that the port is a field on the device, the target or the Director. A port given as a default can be changed in the same field.
Into the Director
These connections are opened by systems in your network and received by the Director. When a load balancer sits in front of the Director or a cluster, they reach the load balancer first.
| From | Protocol and port | What crosses |
|---|---|---|
| Agents | HTTPS, TCP 443 by default ( | Collected data, check-ins, configuration and Agent updates |
| Agents being installed | HTTP, TCP 80 by default (the discovery endpoint's | The install script and the Director's CA certificate. Used only while the discovery endpoint is on |
| A load balancer that ends TLS | HTTP, TCP 80 by default ( | Agent traffic after the load balancer has ended TLS. Keep this link on a trusted network |
| Windows computers that forward events | WS-Man over HTTP with Kerberos, or over HTTPS. You set the port: 5985 and 5986 are the Windows defaults | Forwarded Windows events |
| Firewalls and other syslog senders | Syslog over UDP, TCP or TLS. You set the port | Syslog, CEF and LEEF messages |
| Routers and switches | NetFlow UDP 2055, IPFIX UDP 4739 and sFlow UDP 6343 by default. SNMP traps on the port you set, usually UDP 162 | Flow records and traps |
| Applications and collectors | OTLP on TCP 4317 (gRPC) and TCP 4318 (HTTP) by default. HTTP, Splunk HEC, Splunk S2S and the other listeners on the port you set | Logs, metrics and traces |
| Anyone who reaches a honeypot | The port of the service the honeypot imitates, such as SSH 22, RDP 3389, SMB 445 or LDAP 389 | Connection attempts and the credentials tried |
A container Director receives device traffic only on the ports its deployment manifest publishes. By default its listeners use 1514 (syslog), 4317 and 4318 (OTLP) and 6514 (syslog over TLS), and the two Azure templates publish TCP only. A manifest can publish a listener on a different port. Write the firewall rule for the published port, not for the port the container listens on. See Device Listener Ports.
For the agent ports and the discovery endpoint, see Transport Layer Security.
From the Director to the Sources It Reads
The Director opens these connections itself. A device that connects out to its source needs no inbound rule, and its traffic does not pass through the load balancer in front of the Director.
| To | Protocol and port | What crosses |
|---|---|---|
| Windows and Linux hosts with an auto-managed Agent | WinRM on TCP 5985 for Windows, SSH on TCP 22 for Linux | Installing and restarting the Agent. The Agent then sends its data in as above |
| Oracle Solaris, AIX and macOS hosts read without an Agent | SSH, TCP 22 | Read-only commands |
| Cloud services, such as Microsoft Graph, Azure Event Hubs, Amazon S3 and Google Cloud Pub/Sub | HTTPS, TCP 443 | New data read from APIs, buckets and streams. Azure Event Hubs is read over AMQP on TCP 5671 by default, or over its Kafka endpoint on TCP 9093 |
| Message brokers | The port you set, such as Kafka 9092, AMQP 5672 or MQTT 1883 | Messages |
| Databases and platform APIs | The database port you set, HTTPS 443 for platform APIs, and SNMP on UDP 161 | Scheduled, read-only queries |
| Industrial devices | S7 TCP 102, Modbus TCP 502, DNP3 TCP 20000, IEC 104 TCP 2404, OPC UA TCP 4840 and EtherNet/IP TCP 44818 by default. BACnet on UDP 47808 in both directions | Read-only requests. Nothing is written to the device |
| Services under a service check | The protocol and port of the service: HTTP, TCP, DNS, ICMP or TLS | Whether the service is up, and how it answered |
From the Director to Destinations
Every target connects out from the Director to the address and port set on the target. See Targets: Catalog for each one.
Azure targets need more than one address, and which ones depends on how the Director signs in to Azure. See Microsoft Sentinel: Integration for the three sign-in methods.
| Sign-in method | The Director connects to |
|---|---|
| Service principal | login.microsoftonline.com for a token, and the Data Collection Endpoint (DCE). With autodiscovery, also management.azure.com to read the Data Collection Rules. All on HTTPS, TCP 443 |
| Managed identity | The identity endpoint on its own machine for a token, which on an Azure virtual machine is 169.254.169.254 and never leaves the host. Then the DCE, and with autodiscovery management.azure.com, on HTTPS, TCP 443. If the AZURE_TENANT_ID, AZURE_CLIENT_ID and AZURE_CLIENT_SECRET variables are set for the Director, it signs in as that service principal instead, and needs the addresses in the row above |
| Workload identity on Azure Kubernetes Service | login.microsoftonline.com for a token, then the DCE, and with autodiscovery management.azure.com. All on HTTPS, TCP 443 |
| Director Proxy | Only the proxy's URL, on HTTPS, TCP 443. The proxy makes every Azure connection itself, from the customer's Azure tenant |
Azure Data Explorer and Azure Blob Storage use the same sign-in. Without Director Proxy, the data goes to the cluster's or the storage account's own address instead of a DCE. With Director Proxy, the Director still connects only to the proxy's URL, and the proxy writes to the cluster or the storage account.
Between Directors and Their Storage
| Between | Protocol and port | What crosses |
|---|---|---|
| The members of a cluster | The port each member listens on in the cluster, TCP 8081 by default | Cluster coordination, and the copies of records the members hold for one another. See Clusters |
| An Orchestrated or Serverless Director and its Apache Kafka queue | The port you set, TCP 9092 by default | Queued records |
| An Orchestrated or Serverless Director and its Azure Event Hubs queue | Kafka over TLS, TCP 9093 | Queued records |
| An Orchestrated or Serverless Director and its shared state storage | HTTPS, TCP 443 for Azure Blob Storage and Amazon S3. The port you set for Redis. TCP 10000 by default for Azure Managed Redis. The protocol of the share for a network share | Which machine runs which device, and how far each device has read. With the built-in queue, the queued records too |
See Persistent Storage for the queue and the shared state storage.
Management and Updates
| From | To | Protocol and port | What crosses |
|---|---|---|---|
| Director | api-service.<region>.cloud.virtualmetric.com | HTTPS and WebSocket, TCP 443 | Configuration, health and statistics. Log records only during a capture an operator starts |
| Director | The direct Azure address of the same region | HTTPS, TCP 443 | The same traffic, when the address above cannot be reached |
| Director | dl.vget.me and virtualmetric.blob.core.windows.net | HTTPS, TCP 443 | Director updates, the Agent binaries the Director hands out, and the browser the Website device uses |
| The container platform of a Serverless Director | Docker Hub | HTTPS, TCP 443 | The Director image |
| Director | Your DNS and NTP servers | DNS on UDP and TCP 53, and NTP on UDP 123 | Name resolution, and the correct time that certificate checks need |
A Director only connects to its own region's addresses. For the address of each region, see Firewall Configuration.
A self-managed Director in an isolated network needs none of these. Your team copies its configuration file and the Agent binaries to it by hand. See Agent Binaries Without Download Access.