Communication Matrix and Firewall Rules

Communication Matrix and Firewall Rules

pre-deployment

Communication Matrix and Firewall Rules

A single connectivity matrix and the firewall rules to go with it — everything a network or firewall team needs to open the right ports before Cloudmon is deployed.

Overview

Use this page as the Cloudmon network and firewall reference before deployment. The communication matrix below identifies the network paths required by Cloudmon components, while the firewall rule table provides the corresponding ports, protocols, and traffic directions.
ℹ️ Note:  Which rules actually apply to your rollout depends on your deployment model (Single Network, Distributed, DMZ, or MSP) — see the dedicated Deployment Models article for that architecture guidance. The ports themselves don't change between models; only whether a given rule needs to cross a firewall does.
Principle of least privilege: nothing here should be treated as "open by default." Only permit the rules a feature you actually use requires — everything marked Feature-dependent stays closed until that feature is enabled.

Communication Matrix

Every flow Cloudmon uses, in one table. Find the row for the initiating host, follow it to the column for the destination, and the pill tells you the port, protocol, and requirement level. A dash means that pair never communicates directly.

This matrix is deployment-model agnostic. Apply only the flows required by the features you use; whether a flow needs a firewall rule depends on where the source and destination are placed in your deployment.

Firewall Rules

Core Cloudmon Connectivity

#SourceDestinationDest. PortProtocolDirectionRequired?Purpose
1ControllerMongoDB Server27017TCPOutboundRequired if remoteController connects to the MongoDB database
2Admin / IT team browsersController443TCPInboundRequiredHTTPS access to the Cloudmon web console
3Linux Probe / Windows ProbeController443TCPOutboundRequiredProbes report monitoring metrics back to the Controller
4Agents (Linux / Windows)Controller443TCPOutboundOptionalAgents report server metrics back to the Controller

Monitoring Connectivity

#SourceDestinationDest. PortProtocolDirectionRequired?Purpose
5Linux ProbevCenter / VMware hosts443TCPOutboundFeature-dependentvCenter / VMware infrastructure monitoring
6Linux ProbeNetwork nodes (availability)N/AICMPOutboundFeature-dependentHost availability using ping checks
7Linux ProbeInternal service endpointsVaries (custom)TCPOutboundFeature-dependentHost/service availability on customer-specified ports
8Linux ProbeAWS endpoints (internet)443TCPOutboundFeature-dependentAWS cloud resource monitoring
9Linux ProbeAzure endpoints (internet)443TCPOutboundFeature-dependentAzure cloud resource monitoring
10Linux ProbeWebsites (HTTP / HTTPS)80 / 443TCPOutboundFeature-dependentWebsite availability and uptime monitoring1
11Linux ProbeFTP Server21TCPOutboundFeature-dependentFTP server availability and service monitoring
12Linux ProbeDNS Server53UDPOutboundFeature-dependentDNS resolution and service availability checks
13Linux ProbeWeb
 / SSL
/ REST API Endpoints
80 / 443
/ Varies (custom)
TCPOutboundFeature-dependentWebsite availability, SSL/TLS certificate monitoring, and REST API availability and response monitoring

Network Device Monitoring & Configuration Management

#SourceDestinationDest. PortProtocolDirectionRequired?Purpose
11Linux ProbeSNMP devices (switches, routers)161UDPOutboundFeature-dependentSNMP polling of network devices
12Linux ProbeNetwork configuration backup target22 / 23TCPOutboundFeature-dependentConfiguration backup via SSH (22) or Telnet (23)

Syslog / SNMP Trap / NetFlow (Inbound to Probe)

#SourceDestinationDest. PortProtocolDirectionRequired?Purpose
13Network devices (routers/switches)Linux Probe2055UDPInboundFeature-dependentNetFlow data sent from network devices to the Probe
14Network devices (routers/switches)Linux Probe514UDPInboundFeature-dependentSyslog messages forwarded to the Probe
15Network devices (routers/switches)Linux Probe162UDPInboundFeature-dependentSNMP Trap messages sent to the Probe

Windows WMI

#SourceDestinationDest. PortProtocolDirectionRequired?Purpose
16Windows ProbeWMI target devices135 + dynamic
(49152–65535)
TCPOutboundFeature-dependentWMI monitoring of Windows servers/hosts

External / Internet Connectivity

#SourceDestinationDest. PortProtocolDirectionRequired?Purpose
17Controllersmtp.office365.com587TCPOutboundOptionalSMTP email alerts (if no local SMTP server)
18ControllerInternet — ip-api.com443TCPOutboundOptionalIP geolocation service
19ControllerInternet — *.cloudmon.ai443TCPOutboundRequiredCloudmon site
20Linux ProbeInternet — ip-api.com443TCPOutboundOptionalIP geolocation service for the Probe

Connectivity Validation

After the required firewall rules are implemented, validate each applicable communication path from the actual source host. A successful test confirms that the network path and destination port are reachable; application-level authentication or feature configuration may still need separate validation. Replace anything in <angle brackets> with the actual hostname/IP for your environment.
1. nc, curl, tcpdump, and snmpget/snmptrap commands assume standard Linux net-tools/net-snmp packages are installed on the Probe
2. Test-NetConnection and Test-WSMan are built into PowerShell on Windows.
CheckFromToCommandExpected Result
Cloudmon consoleAdmin browserController:443/TCPcurl -Ik https://<controller>HTTPS connection succeeds.
Probe → ControllerLinux/Windows ProbeController:443/TCPnc -zv <controller> 443 (Linux)


Test-NetConnection <controller>
-Port 443 (Windows)
Connection succeeds.
Controller → MongoDBControllerMongoDB:27017/TCPnc -zv <mongodb-host> 27017TCP connection succeeds when MongoDB is remote.
SNMP pollingLinux ProbeDevice:161/UDPsnmpget -v2c -c <community>
<device-ip> sysDescr.0
SNMP query succeeds if SNMP monitoring is enabled.
SyslogNetwork deviceLinux Probe:514/UDPtcpdump -ni any udp port 514

(run on Probe while device exports syslogs)
Syslog messages are received if Syslog collection is enabled.
SNMP TrapNetwork deviceLinux Probe:162/UDPsnmptrap -v2c -c public
<linux-probe-ip>:162 ''
1.3.6.1.4.1.8072.2.3.0.1
SNMP traps are received if trap collection is enabled.
NetFlowNetwork deviceLinux Probe:2055/UDPtcpdump -ni any udp port 2055

(run on Probe while device exports flows)
Flow records are received if NetFlow collection is enabled.
WMIWindows ProbeWindows target:135/TCP + dynamic portsTest-NetConnection <target> -Port
135

Get-WmiObject -ComputerName
<target> Win32_OperatingSystem
WMI connection succeeds if WMI monitoring is enabled.
VMwareLinux ProbevCenter:443/TCPcurl -Ik https://<vcenter>HTTPS connection succeeds if VMware monitoring is enabled.
Hyper-VAgentHyper-V host:5985(6)/TCPcurl -I
https://<hyperv-host>:5985/wsman
WinRM connection succeeds if Hyper-V monitoring is enabled.
NutanixLinux ProbePrism:9440/TCPcurl -Ik https://<prism-ip>:9440HTTPS connection succeeds if Nutanix monitoring is enabled.
Cloud (AWS/Azure/
GCP/OCI)
Linux ProbeCloud API endpoint:443/TCPcurl -Iv
https://<cloud-api-endpoint>
HTTPS connection succeeds if the corresponding cloud integration is enabled.
Validation note:
1. Run only the checks applicable to the deployment and features in use.
2. For WMI, TCP port 135 and the configured Windows dynamic RPC port range must be reachable from the Windows Probe to the target.
3. For Windows Event Log collection, WinRM (TCP 5985 for HTTP, or 5986 for HTTPS) must be reachable from the Windows Probe to the target — this is a separate port range from WMI/RPC.
5. For inbound Syslog, SNMP Trap, and NetFlow, validate from the network device toward the Linux Probe.

Ready for Device Onboarding

Cloudmon is network-ready when the required connectivity paths for the selected deployment model and enabled features are permitted and successfully validated. Use the firewall rules above as the change-request reference, then perform the applicable connectivity checks to confirm reachability before proceeding with deployment or feature configuration.