Skip to main content

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.

FromProtocol and portWhat crosses
AgentsHTTPS, TCP 443 by default (Agent communication port (HTTPS))Collected data, check-ins, configuration and Agent updates
Agents being installedHTTP, TCP 80 by default (the discovery endpoint's Port)The install script and the Director's CA certificate. Used only while the discovery endpoint is on
A load balancer that ends TLSHTTP, TCP 80 by default (Director HTTP Port)Agent traffic after the load balancer has ended TLS. Keep this link on a trusted network
Windows computers that forward eventsWS-Man over HTTP with Kerberos, or over HTTPS. You set the port: 5985 and 5986 are the Windows defaultsForwarded Windows events
Firewalls and other syslog sendersSyslog over UDP, TCP or TLS. You set the portSyslog, CEF and LEEF messages
Routers and switchesNetFlow UDP 2055, IPFIX UDP 4739 and sFlow UDP 6343 by default. SNMP traps on the port you set, usually UDP 162Flow records and traps
Applications and collectorsOTLP on TCP 4317 (gRPC) and TCP 4318 (HTTP) by default. HTTP, Splunk HEC, Splunk S2S and the other listeners on the port you setLogs, metrics and traces
Anyone who reaches a honeypotThe port of the service the honeypot imitates, such as SSH 22, RDP 3389, SMB 445 or LDAP 389Connection 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.

ToProtocol and portWhat crosses
Windows and Linux hosts with an auto-managed AgentWinRM on TCP 5985 for Windows, SSH on TCP 22 for LinuxInstalling and restarting the Agent. The Agent then sends its data in as above
Oracle Solaris, AIX and macOS hosts read without an AgentSSH, TCP 22Read-only commands
Cloud services, such as Microsoft Graph, Azure Event Hubs, Amazon S3 and Google Cloud Pub/SubHTTPS, TCP 443New 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 brokersThe port you set, such as Kafka 9092, AMQP 5672 or MQTT 1883Messages
Databases and platform APIsThe database port you set, HTTPS 443 for platform APIs, and SNMP on UDP 161Scheduled, read-only queries
Industrial devicesS7 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 directionsRead-only requests. Nothing is written to the device
Services under a service checkThe protocol and port of the service: HTTP, TCP, DNS, ICMP or TLSWhether 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 methodThe Director connects to
Service principallogin.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 identityThe 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 Servicelogin.microsoftonline.com for a token, then the DCE, and with autodiscovery management.azure.com. All on HTTPS, TCP 443
Director ProxyOnly 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​

BetweenProtocol and portWhat crosses
The members of a clusterThe port each member listens on in the cluster, TCP 8081 by defaultCluster coordination, and the copies of records the members hold for one another. See Clusters
An Orchestrated or Serverless Director and its Apache Kafka queueThe port you set, TCP 9092 by defaultQueued records
An Orchestrated or Serverless Director and its Azure Event Hubs queueKafka over TLS, TCP 9093Queued records
An Orchestrated or Serverless Director and its shared state storageHTTPS, 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 shareWhich 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​

FromToProtocol and portWhat crosses
Directorapi-service.<region>.cloud.virtualmetric.comHTTPS and WebSocket, TCP 443Configuration, health and statistics. Log records only during a capture an operator starts
DirectorThe direct Azure address of the same regionHTTPS, TCP 443The same traffic, when the address above cannot be reached
Directordl.vget.me and virtualmetric.blob.core.windows.netHTTPS, TCP 443Director updates, the Agent binaries the Director hands out, and the browser the Website device uses
The container platform of a Serverless DirectorDocker HubHTTPS, TCP 443The Director image
DirectorYour DNS and NTP serversDNS on UDP and TCP 53, and NTP on UDP 123Name 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.