New: look around a live Uplivra server with a sample company's network already set up. Request demo access(free account, no card)
UplivraUplivra
Uplivra is in beta and online purchasing is paused. Apply to test it: testers get a license on request and 10% off when purchasing opens.

Home › Install guides › Ports and firewall rules

Install guide · Firewall and network teams

Ports and firewall rules

What each kind of Uplivra computer needs open, incoming and outgoing, depending on the modes and features you choose, including the extra ports when Uplivra's DHCP server is on. Everything else runs on HTTPS 443 by default; SSH is optional.

Uplivra Technologies LLC · Guide for Uplivra 26.10 · Updated 12 November 2026 · Latest version: https://uplivra.com/guides/ports.html

Download this guide as a PDF

The short version

  • Everything uses HTTPS on port 443. The web interface, collectors reporting in, customer collectors connecting to an MSP master collector, and each collector's management page. No odd port numbers in addresses: https://uplivra.yourcompany.com/.
  • Collectors only connect out. A collector reaches your Uplivra server (or your MSP's master collector) on TCP 443. Nothing needs to connect in to a collector for it to work; incoming ports on a collector are only for its management page and for devices sending it SNMP traps, logs or traffic flows.
  • SSH is optional. Incoming SSH to an Uplivra computer is only needed when you manage its Linux system over SSH, when you invite Uplivra support for a session, or on an MSP master collector that other collectors reach over SSH instead of HTTPS (TCP 22, or 2222 when the computer's own SSH has 22).
  • Remote support sessions (SSH, Remote Desktop and web apps through a collector) need no new ports. They travel inside the collector's HTTPS connection; the collector then connects to the device on the port allowed (22, 3389, 80 or 443 by default). See Remote access.
  • SNMP traps come in on UDP 162 when you turn them on for a site. See SNMP traps.
  • Uplivra's DHCP server adds ports. It's off until you turn it on (Network Pro). When it's on, the collector also accepts UDP 67 on the network port you pick and sends UDP 68 to the devices it gives addresses to; a DHCP relay on your router and the collector talk on UDP 67 both ways. See below and DHCP.
  • Site servers keep a site's traffic to Uplivra on one computer: the site's other collectors connect in to the site server on TCP 443 (its relay port) on the site network, and only the site server talks to Uplivra. Keep each collector's own out TCP 443 to Uplivra too: it's the fallback when no site server answers. See Site servers.
  • Remote access turned on from the web interface and the search box need no new ports.
  • Everything else added lately needs no new ports: MAC addresses and makers (SNMP your checks already use), support ticket logs, the data API and firmware HTTPS links (the web interface's port), network changes and run setup again, and Service Desk teams, comment search and paused targets.
  • Service Desk email to ticket makes one new outgoing connection: the server reads each queue's mailbox over IMAP, TCP 993 (or 143 with STARTTLS). See Service Desk.

The server's ports at a glance

A collector's ports at a glance

To see the rules for a computer that's already installed, run this on it:

uplivra ports

It reads that computer's settings and prints what it needs, incoming and outgoing. uplivra ports -all prints every kind of computer, the same tables as below.

Settings › Ports and firewall: every port this server uses, and why.Settings › Ports and firewall: every port this server uses, and why.
Settings › Ports and firewall: every port this server uses, and why. Demo data

Features that add ports

Nothing here is needed unless you turn the feature on. "In" means something connects to the Uplivra computer.

FeatureOn which computerPortsWho opens the host firewall
Uplivra's DHCP server (Network Pro)The collector serving DHCPIn UDP 67 from devices and DHCP relays; out UDP 68 to devices, out UDP 67 to relays; ping (ICMP) before each new address; a UDP 67 broadcast every 30 minutes to check for other DHCP serversUplivra, only on the network ports you pick, when you turn it on (appliances and Linux installs with ufw). Firewalls between your router and the collector must allow UDP 67 both ways
Rogue DHCP checkThe collector running itOut UDP 67 broadcast; answers come back on UDP 68 (firewalls allow these as DHCP replies)Nothing to open
Log collectionCollector or log collectorIn UDP/TCP 514The installer
SNMP trapsCollectorIn UDP 162The installer
Traffic flows (Network Pro)CollectorIn UDP 2055 (NetFlow/IPFIX), 6343 (sFlow)The installer
Log forwardingCollectorOut TCP 6514, UDP/TCP 514 or TCP 443 to your SIEM or storageNothing to open
Discovery scans (and the Set up a network wizard)CollectorOut ping, SNMP UDP 161, and TCP 22, 23, 53, 80, 443, 445, 515, 631, 3389, 5900, 8080, 8443, 9100 (or the ones you pick) to the ranges you scanNothing to open
Service Desk email to ticket (Service Desk module)ServerOut TCP 993 (IMAP over TLS) or TCP 143 (IMAP with STARTTLS) to your mail server, once a minute for each queue with a mailboxNothing to open; allow it in outbound firewalls
Data APIServerIn on the web interface's port (443) from the software using itAlready open
Firmware HTTPS linksServerIn on the web interface's port (443) from the device being upgradedAlready open
Firmware SFTP/SCP repositoryServerIn TCP 2022 (your choice)You, when you turn on SFTP/SCP access (Lifecycle › Firmware)
Copy firmware to a deviceCollectorOut TCP 22 to the deviceNothing to open
Restore a saved configuration (Network Pro)CollectorOut TCP 22 to the device (SCP or SFTP, then SSH)Nothing to open
Site-to-site tests (Network Pro)The collector a test is aimed at, and the one that sendsIn UDP 4717 (you can pick another port per test) on the answering collector, from the sending collector; the sender goes out UDP 4717The installer (nothing listens unless a test is aimed at the collector). Allow it in firewalls between the sites
Shared site addressThe collectors at one site, to each otherUDP 4718, both waysThe installer. Only needed when the site has a shared address
Other DHCP servers: Windows DHCP (Network Pro)CollectorOut TCP 5985 (WinRM, or 5986 with HTTPS) to the Windows DHCP serverNothing to open; allow it in the Windows firewall (WinRM)
Other DHCP servers: ISC Kea (Network Pro)CollectorOut TCP 8000 (the Kea Control Agent; you can set another port) to the Kea serverNothing to open; allow it on the Kea server
Site server (collectors report through it)Site serverIn TCP 443 (its relay port) from the site's other collectors; they connect out TCP 443 to it and, as a fallback when it's down, out TCP 443 to your Uplivra serverThe installer (site server mode). Between VLANs, allow collectors to reach the site server on 443
Beacons: a collector that lost its server tells UplivraAny collector (an MSP customer's site server, for example)Out TCP 443 to licensing.uplivra.com, only after 10 minutes without its serverNothing to open; allow it in outbound firewalls. Off when health reporting is off
MSP master collector over SSHMaster collectorIn TCP 2222 (or 22)The installer
Web page screenshots as evidence (Compliance & Evidence, optional)ServerOut TCP 443 or 80 (or the port in the page's address) to the devices whose pages you photograph; private addresses onlyNothing to open. The server must be able to reach those devices
Access Control on the server (module)ServerIn TCP 49 (TACACS+), UDP 1812, 1813 (RADIUS), TCP 2083 (RadSec, if on) from your network devices; out UDP 3799 to devices for change of authorizationYou (as root: ufw allow from 10.0.0.0/8 to any port 49 proto tcp, and the same for 1812-1813/udp)
Access Control node (module)The nodeIn TCP 49, UDP 1812-1813 (and RadSec) from your network devices; in TCP 8447 (your choice) from its pair; out TCP 443 (the web interface's port) to your Uplivra serverYou, on the node and in firewalls between the sites. Allow 8447 only between the two nodes
Applications fetching vault values (Network Pro)ServerIn on the web interface's port (443) from the addresses you allow for each applicationAlready open (management interface only)
MAC addresses and makers, support ticket logs, health reports, vulnerability feedServerOut TCP 443 to licensing.uplivra.com (the connection it already makes)Nothing to open

Uplivra's DHCP server

Uplivra's DHCP server: which ports, which way

When you turn on a DHCP scope for a collector:

  1. The collector listens on UDP 67 on the network port you chose, and Uplivra opens that port in the collector's firewall (only on that network port; it's closed again when the scope is removed).
  2. Devices on that network broadcast requests to UDP 67; the collector answers them on UDP 68.
  3. For other networks, point your router's DHCP relay (IP helper) at the collector's address. The router and the collector then talk on UDP 67 both ways, so allow that in any firewall between them.
  4. Before offering an address it hasn't used before, the collector pings it. Before serving, and every 30 minutes, it broadcasts a DHCP request on UDP 67 to see whether another DHCP server answers (on UDP 68).
  5. Settings, leases and history travel over the collector's usual HTTPS 443 connection to the server. Nothing new between the collector and the server.

Network boot files (PXE, UEFI, iPXE) come from your boot server (TFTP UDP 69 or HTTP), not from the collector: allow those from the devices to that server.

Check a collector's own rules at any time with uplivra ports: once it serves DHCP, the DHCP ports are listed and the heading says which network ports it serves.

Changing the ports

You can choose different ports during installation, or change them later.

WhatDuring installLater
Server web interface (and where collectors connect)"Port for the web interface"Settings › Ports and firewall in the web interface, or uplivra system ports -port 9443
A collector's management page"Port for the management page" (0 turns it off)uplivra status-page -port 9443 (Windows: uplivra.exe status-page -port 9443 in PowerShell as administrator)
Where customer collectors connect to an MSP master collector"HTTPS port for customer collectors"relay.listen in /etc/uplivra/collector.json
SSH for customer collectors (MSP master)"Also let customer collectors connect over SSH?"relay.ssh_listen in /etc/uplivra/collector.json

When the server's port changes, it keeps answering on the old one for a while and tells every collector the new port. Collectors check that the new port answers with the same certificate, switch by themselves, and remember it. Settings › Ports and firewall lists anything still using the old port; close it there once that list is empty.

Ports 514, 2055, 4739, 6343 and 9995 are kept for logs and traffic flows, so they can't be chosen for a web page.

MSP master collectors: HTTPS or SSH

Customer collectors connect to a master collector in one of two ways. Both carry the same encrypted HTTPS connection, checked against the master's certificate, and each customer collector still signs in with its own key.

  • HTTPS (normal): TCP 443 from the customer network to the master. It shares the port with the master's management page; Uplivra tells them apart.
  • SSH: for customer networks that allow SSH out but not HTTPS. The master listens on TCP 22, or 2222 when its own Linux SSH already uses 22. SSH here is only a carrier: there's no shell, no commands and no forwarding anywhere else.

SSH between collectors uses keys only, never passwords:

  • Each collector makes its own SSH key the first time it connects. The key is stored encrypted, in a folder only the collector's service account can open (/var/lib/uplivra-collector/ssh, mode 700). The key's passphrase is protected like the credential vault's key: a private file on Linux, and Windows' own data protection on Windows.
  • A master only lets in keys the Uplivra server knows. The first time, the collector proves who it is with its setup code (or, if it's already connected, its collector key). The master checks that with the server, which then adds the key to the list it sends every master.
  • Removing a collector in Uplivra removes its key. Masters drop its SSH connection within a minute.
  • The master's own host key is kept the same way. Collectors check it against the host key you give them, so they can't be pointed at an impostor.

To set up SSH, choose it on the master during install, or add ssh_listen to its /etc/uplivra/collector.json and restart it:

"relay": { "listen": ":443", "ssh_listen": ":2222" }

The master's page in Uplivra (Settings › Sites and collectors) then shows its SSH host key next to its certificate fingerprint. On the customer collector, choose "SSH, through my MSP's master collector" during install, or add these to its collector.json:

"server_url": "https://master.yourmsp.com",
"server_fingerprint": "the master's certificate fingerprint",
"server_ssh": "master.yourmsp.com:2222",
"server_ssh_host_key": "SHA256:the master's SSH host key"

Customer collectors can also list a second master as a fallback, over HTTPS or SSH:

"fallback_servers": [
  { "url": "https://master2.yourmsp.com", "fingerprint": "...",
    "ssh": "master2.yourmsp.com:2222", "ssh_host_key": "SHA256:..." }
]

SNMP traps

Turn traps on per site under Settings › Sites and collectors, in the Traps, syslog and flows table (tick SNMP traps for the site and click Save). The site's collector then listens on UDP 162 (pick another port under Ports) for SNMP traps and informs, v1, v2c and v3. Point your devices' trap destination at the collector's address, or at the site's shared address.

A trap is accepted only when it uses one of the site's SNMP logins: a v1/v2c community, or a v3 user whose authentication and encryption check out. Others are dropped. The logins are the ones the site's SNMP checks use, plus any you tick next to the setting.

Traps show on each device's page. A link going down, a restart, failed SNMP logins, a BGP session dropping or a UPS on battery raises an alert straight away. Traps are part of Core; with Log Intelligence they're also searchable with the logs (app:snmptrap).

Upgrading from an older version

Older versions used port 8443 for the server and for master collectors, and 8444 for collector management pages. The installer moves them to 443 when you upgrade, if nothing else on the computer uses 443:

  • The server moves to 443 and keeps answering on 8443 until every collector has moved. They move by themselves; nothing needs reinstalling.
  • Master collectors move to 443 the same way and keep 8443 open for customer collectors until they've moved.
  • A collector's management page moves from 8444 to 443 (on the server's own computer it's turned off, because the web interface shows the same).

Remember to allow 443 in any firewall between computers (the installer only opens the computer's own firewall). Once Settings › Ports and firewall shows nothing using 8443, close it there and remove the old rules from your firewalls.

Rules for each kind of computer

"In" means other computers connect to this one. Optional rules are only needed if you use that feature. The installer opens the incoming ones in Ubuntu's firewall (ufw) or Windows Firewall when it's switched on.

Uplivra server (with its own collector)

The central server: web interface, database, alerts, plus a collector for its own site. Most businesses only need this.

DirectionProtocol and portWhoWhat forNeeded
InTCP 443People's browsers; every collector and MSP master collectorThe Uplivra web interface, and collectors reporting results and fetching their checks (HTTPS)Always
InTCP 443Other software (dashboards, PSA tools, scripts)The read-only data API, with data API tokens (the same port as the web interface; nothing new to open)Only if you make data API tokens
InTCP 443Network devices being upgradedDownloading a firmware image over a 24-hour HTTPS link (the same port as the web interface)Only when you make an HTTPS link on Lifecycle › Firmware
InUDP 2055, 6343Routers, switches and firewallsTraffic flow records: NetFlow and IPFIX on 2055, sFlow on 6343 (the site's settings in Uplivra can change these)If you send traffic flows to this collector (Network Pro)
InUDP 4717Your other collectorsSite-to-site tests: another collector measures loss, latency and jitter to this one (the test's settings can change the port). Nothing listens unless a test is aimed at this collector, and it answers only probes signed with that test's keyOnly if a site-to-site test is aimed at this collector (Network Pro)
InUDP 4718The other collectors at the same siteShared site address: the site's collectors tell each other every second that they're up, so one holds the address devices send traps, syslog and flows to. Messages are signed with the site's keyOnly if the site has a shared address
InUDP 162Routers, switches, firewalls, UPSs and serversSNMP traps and informs, v1, v2c and v3 (the site's settings in Uplivra can change the port)If devices send SNMP traps to this collector
InUDP 514Devices and serversLog messages (syslog; the site's settings in Uplivra can change the port)If devices send logs to this collector
InTCP 514Devices and serversLog messages (syslog over TCP)If devices send logs over TCP
InUDP 67Devices on the networks it serves (broadcast); DHCP relays (IP helpers) on your routersDHCP requests to Uplivra's DHCP serverOnly if Uplivra's DHCP server is turned on for this collector (Network Pro). Uplivra opens UDP 67 itself, only on the network ports you pick
InUDP 123Devices on the networks it servesTime (NTP) requests to Uplivra's NTP serverOnly if Uplivra's NTP server is turned on for this collector. Uplivra opens UDP 123 itself, only on the network ports you pick, and answers only the networks you allow
InTCP 22Your administrators; Uplivra support when you invite themManaging the Linux system, or a support sessionOnly if you manage the Linux system this way or allow support sessions
OutTCP 443licensing.uplivra.comLicense check-ins (monthly), update downloads, health reports (every 5 minutes), the vulnerability feed, the MAC maker list (monthly), Uplivra's own logs for a support ticket you open, and the Uplivra support connection when you turn it onNot needed for offline licenses and offline updates
OutTCP 587, 465 or 25Your mail serverEmail alertsIf email alerts are set up
OutTCP 993 or 143Your mail server (IMAP)Service Desk email to ticket: reading a queue's mailbox every minuteOnly for queues you give a mailbox (Service Desk module)
OutTCP 443Microsoft Teams, Slack, webhooks (for example PagerDuty), ticketing systems, cloud accounts (AWS, Azure, Microsoft 365)Alerts and integrations you turn onOnly the ones you use
OutTCP 636 or 389Your domain controllersSign-in with Active Directory or LDAPIf directory sign-in is set up
OutTCP 443Let's Encrypt and CloudflareTrusted certificates for the web interface and management pagesIf you use Let's Encrypt
OutTCP 443 or 80 (the port in the page's address)Devices on your own network whose web pages you photograph (private addresses only)Web page screenshots as evidence, taken with headless Chromium on the server (Compliance & Evidence)Only if you take web page screenshots
OutICMP (ping)The devices you monitorPing checks, tracerouteAlways
OutUDP 161The devices you monitorSNMP checks (interfaces, CPU, memory, printers, UPS...), and routers' ARP and switches' MAC tables for MAC addresses and makersAlways
OutUDP 67The local network (broadcast)The rogue DHCP check asks which DHCP servers answer (it never takes an address). Answers come back on UDP 68, which firewalls allow as DHCP repliesOnly if you add the rogue DHCP check
OutTCP 22, 80, 443 and the ports you checkThe devices you monitorService, website, SSH (server health, configuration backups) and port checksOnly for the checks you add
OutTCP common ports such as 22, 80, 443, 445, 3389 and 9100 (or the ones you pick)The address ranges you scanDiscovery scans (with ping and SNMP UDP 161), including scans the Set up a network wizard startsOnly when a discovery scan runs
OutTCP/UDP 6514, 514 or 443Your SIEM, syslog server, HTTPS log collector or S3/Azure storageLog forwarding: copies of the logs and traps this collector receivesOnly if you set up log forwarding
OutTCP 22Network devices being upgradedCopying firmware images to devices with SFTP or SCP (Upgrade & Lifecycle). Never TFTP, FTP or TelnetOnly when you use Copy to device
OutTCP 22Cisco IOS/IOS-XE, Arista EOS and Juniper Junos devicesRestoring a saved configuration (Network Pro): the file is copied with SCP or SFTP and applied over SSHOnly when an approved restore runs
OutTCP 5985, 5986Windows computers you monitor, and Windows DHCP serversWindows checks (WMI over WinRM), and reading Windows DHCP scopes and leases with PowerShell over WinRM (Network Pro)Only for Windows checks and Windows DHCP servers you add
OutUDP 4717Your other collectorsSite-to-site tests this collector sends (the test's settings can change the port)Only for site-to-site tests from this collector (Network Pro)
OutTCP 8000ISC Kea DHCP servers (the Control Agent)Reading Kea's scopes and leases over its HTTP(S) API (Network Pro)Only for Kea servers you add (the port is set per server)
OutUDP 53, 123Your DNS and time serversDNS and time (NTP) checks, and name lookupsAlways
OutTCP 22, 3389, 80, 443 (the ones allowed)Devices on the site's networkRemote support sessions (SSH, Remote Desktop, web apps). They reach the collector inside its HTTPS connection; nothing new is opened incomingIf remote access is turned on for this collector
OutUDP 68Devices on the networks it serves (broadcast)DHCP offers and acknowledgementsOnly if Uplivra's DHCP server is turned on for this collector (Network Pro)
OutUDP 67DHCP relays on your routersAnswers to relayed requestsOnly if a relay sends requests to it
OutUDP 67The local network (broadcast)The safety check for other DHCP servers before serving and every 30 minutes (answers come back on UDP 68)Only if Uplivra's DHCP server is turned on for this collector (Network Pro)
OutICMP (ping)Addresses it's about to hand outA ping before offering an address, so it never hands out one in useUnless the ping check is turned off for the scope

Collector

Checks devices at a site and reports to the Uplivra server.

DirectionProtocol and portWhoWhat forNeeded
InTCP 443Your administrators' browsersThe collector's management page (HTTPS)Can be turned off; you can also limit it to your management networks
InUDP 2055, 6343Routers, switches and firewallsTraffic flow records: NetFlow and IPFIX on 2055, sFlow on 6343 (the site's settings in Uplivra can change these)If you send traffic flows to this collector (Network Pro)
InUDP 4717Your other collectorsSite-to-site tests: another collector measures loss, latency and jitter to this one (the test's settings can change the port). Nothing listens unless a test is aimed at this collector, and it answers only probes signed with that test's keyOnly if a site-to-site test is aimed at this collector (Network Pro)
InUDP 4718The other collectors at the same siteShared site address: the site's collectors tell each other every second that they're up, so one holds the address devices send traps, syslog and flows to. Messages are signed with the site's keyOnly if the site has a shared address
InUDP 162Routers, switches, firewalls, UPSs and serversSNMP traps and informs, v1, v2c and v3 (the site's settings in Uplivra can change the port)If devices send SNMP traps to this collector
InUDP 514Devices and serversLog messages (syslog; the site's settings in Uplivra can change the port)If devices send logs to this collector
InTCP 514Devices and serversLog messages (syslog over TCP)If devices send logs over TCP
InUDP 67Devices on the networks it serves (broadcast); DHCP relays (IP helpers) on your routersDHCP requests to Uplivra's DHCP serverOnly if Uplivra's DHCP server is turned on for this collector (Network Pro). Uplivra opens UDP 67 itself, only on the network ports you pick
InUDP 123Devices on the networks it servesTime (NTP) requests to Uplivra's NTP serverOnly if Uplivra's NTP server is turned on for this collector. Uplivra opens UDP 123 itself, only on the network ports you pick, and answers only the networks you allow
InTCP 22Your administrators; Uplivra support when you invite themManaging the Linux system, or a support sessionOnly if you manage the Linux system this way or allow support sessions
OutTCP 443Your Uplivra server (or your MSP's master collector)Reporting results and fetching checks (HTTPS). The collector always connects out; nothing connects in to it for thisAlways
OutTCP 443 (the site server's relay port)Your site server: a collector with the relay role at this collector's siteReporting through the site server, and checking in with each site server every minute. Keep the rule above too: it's used whenever no site server answersOnly at sites with a site server
OutICMP (ping)The devices you monitorPing checks, tracerouteAlways
OutUDP 161The devices you monitorSNMP checks (interfaces, CPU, memory, printers, UPS...), and routers' ARP and switches' MAC tables for MAC addresses and makersAlways
OutUDP 67The local network (broadcast)The rogue DHCP check asks which DHCP servers answer (it never takes an address). Answers come back on UDP 68, which firewalls allow as DHCP repliesOnly if you add the rogue DHCP check
OutTCP 22, 80, 443 and the ports you checkThe devices you monitorService, website, SSH (server health, configuration backups) and port checksOnly for the checks you add
OutTCP common ports such as 22, 80, 443, 445, 3389 and 9100 (or the ones you pick)The address ranges you scanDiscovery scans (with ping and SNMP UDP 161), including scans the Set up a network wizard startsOnly when a discovery scan runs
OutTCP/UDP 6514, 514 or 443Your SIEM, syslog server, HTTPS log collector or S3/Azure storageLog forwarding: copies of the logs and traps this collector receivesOnly if you set up log forwarding
OutTCP 22Network devices being upgradedCopying firmware images to devices with SFTP or SCP (Upgrade & Lifecycle). Never TFTP, FTP or TelnetOnly when you use Copy to device
OutTCP 22Cisco IOS/IOS-XE, Arista EOS and Juniper Junos devicesRestoring a saved configuration (Network Pro): the file is copied with SCP or SFTP and applied over SSHOnly when an approved restore runs
OutTCP 5985, 5986Windows computers you monitor, and Windows DHCP serversWindows checks (WMI over WinRM), and reading Windows DHCP scopes and leases with PowerShell over WinRM (Network Pro)Only for Windows checks and Windows DHCP servers you add
OutUDP 4717Your other collectorsSite-to-site tests this collector sends (the test's settings can change the port)Only for site-to-site tests from this collector (Network Pro)
OutTCP 8000ISC Kea DHCP servers (the Control Agent)Reading Kea's scopes and leases over its HTTP(S) API (Network Pro)Only for Kea servers you add (the port is set per server)
OutUDP 53, 123Your DNS and time serversDNS and time (NTP) checks, and name lookupsAlways
OutTCP 22, 3389, 80, 443 (the ones allowed)Devices on the site's networkRemote support sessions (SSH, Remote Desktop, web apps). They reach the collector inside its HTTPS connection; nothing new is opened incomingIf remote access is turned on for this collector
OutUDP 68Devices on the networks it serves (broadcast)DHCP offers and acknowledgementsOnly if Uplivra's DHCP server is turned on for this collector (Network Pro)
OutUDP 67DHCP relays on your routersAnswers to relayed requestsOnly if a relay sends requests to it
OutUDP 67The local network (broadcast)The safety check for other DHCP servers before serving and every 30 minutes (answers come back on UDP 68)Only if Uplivra's DHCP server is turned on for this collector (Network Pro)
OutICMP (ping)Addresses it's about to hand outA ping before offering an address, so it never hands out one in useUnless the ping check is turned off for the scope

Site server

A collector that the other collectors at its site report through, so it's the only computer there talking to Uplivra. They report directly only when it's down.

DirectionProtocol and portWhoWhat forNeeded
InTCP 443Customer collectors, or the other collectors at this site (it's their site server); your administrators' browsersCollectors reporting through this master collector or site server, and its management page (HTTPS)Always
InUDP 2055, 6343Routers, switches and firewallsTraffic flow records: NetFlow and IPFIX on 2055, sFlow on 6343 (the site's settings in Uplivra can change these)If you send traffic flows to this collector (Network Pro)
InUDP 4717Your other collectorsSite-to-site tests: another collector measures loss, latency and jitter to this one (the test's settings can change the port). Nothing listens unless a test is aimed at this collector, and it answers only probes signed with that test's keyOnly if a site-to-site test is aimed at this collector (Network Pro)
InUDP 4718The other collectors at the same siteShared site address: the site's collectors tell each other every second that they're up, so one holds the address devices send traps, syslog and flows to. Messages are signed with the site's keyOnly if the site has a shared address
InUDP 162Routers, switches, firewalls, UPSs and serversSNMP traps and informs, v1, v2c and v3 (the site's settings in Uplivra can change the port)If devices send SNMP traps to this collector
InUDP 514Devices and serversLog messages (syslog; the site's settings in Uplivra can change the port)If devices send logs to this collector
InTCP 514Devices and serversLog messages (syslog over TCP)If devices send logs over TCP
InUDP 67Devices on the networks it serves (broadcast); DHCP relays (IP helpers) on your routersDHCP requests to Uplivra's DHCP serverOnly if Uplivra's DHCP server is turned on for this collector (Network Pro). Uplivra opens UDP 67 itself, only on the network ports you pick
InUDP 123Devices on the networks it servesTime (NTP) requests to Uplivra's NTP serverOnly if Uplivra's NTP server is turned on for this collector. Uplivra opens UDP 123 itself, only on the network ports you pick, and answers only the networks you allow
InTCP 22Your administrators; Uplivra support when you invite themManaging the Linux system, or a support sessionOnly if you manage the Linux system this way or allow support sessions
OutTCP 443Your Uplivra serverReporting results, and passing customer collectors' connections on (HTTPS)Always
OutICMP (ping)The devices you monitorPing checks, tracerouteAlways
OutUDP 161The devices you monitorSNMP checks (interfaces, CPU, memory, printers, UPS...), and routers' ARP and switches' MAC tables for MAC addresses and makersAlways
OutUDP 67The local network (broadcast)The rogue DHCP check asks which DHCP servers answer (it never takes an address). Answers come back on UDP 68, which firewalls allow as DHCP repliesOnly if you add the rogue DHCP check
OutTCP 22, 80, 443 and the ports you checkThe devices you monitorService, website, SSH (server health, configuration backups) and port checksOnly for the checks you add
OutTCP common ports such as 22, 80, 443, 445, 3389 and 9100 (or the ones you pick)The address ranges you scanDiscovery scans (with ping and SNMP UDP 161), including scans the Set up a network wizard startsOnly when a discovery scan runs
OutTCP/UDP 6514, 514 or 443Your SIEM, syslog server, HTTPS log collector or S3/Azure storageLog forwarding: copies of the logs and traps this collector receivesOnly if you set up log forwarding
OutTCP 22Network devices being upgradedCopying firmware images to devices with SFTP or SCP (Upgrade & Lifecycle). Never TFTP, FTP or TelnetOnly when you use Copy to device
OutTCP 22Cisco IOS/IOS-XE, Arista EOS and Juniper Junos devicesRestoring a saved configuration (Network Pro): the file is copied with SCP or SFTP and applied over SSHOnly when an approved restore runs
OutTCP 5985, 5986Windows computers you monitor, and Windows DHCP serversWindows checks (WMI over WinRM), and reading Windows DHCP scopes and leases with PowerShell over WinRM (Network Pro)Only for Windows checks and Windows DHCP servers you add
OutUDP 4717Your other collectorsSite-to-site tests this collector sends (the test's settings can change the port)Only for site-to-site tests from this collector (Network Pro)
OutTCP 8000ISC Kea DHCP servers (the Control Agent)Reading Kea's scopes and leases over its HTTP(S) API (Network Pro)Only for Kea servers you add (the port is set per server)
OutUDP 53, 123Your DNS and time serversDNS and time (NTP) checks, and name lookupsAlways
OutTCP 22, 3389, 80, 443 (the ones allowed)Devices on the site's networkRemote support sessions (SSH, Remote Desktop, web apps). They reach the collector inside its HTTPS connection; nothing new is opened incomingIf remote access is turned on for this collector
OutUDP 68Devices on the networks it serves (broadcast)DHCP offers and acknowledgementsOnly if Uplivra's DHCP server is turned on for this collector (Network Pro)
OutUDP 67DHCP relays on your routersAnswers to relayed requestsOnly if a relay sends requests to it
OutUDP 67The local network (broadcast)The safety check for other DHCP servers before serving and every 30 minutes (answers come back on UDP 68)Only if Uplivra's DHCP server is turned on for this collector (Network Pro)
OutICMP (ping)Addresses it's about to hand outA ping before offering an address, so it never hands out one in useUnless the ping check is turned off for the scope

Log collector

Receives logs (syslog) and keeps them in its own encrypted storage.

DirectionProtocol and portWhoWhat forNeeded
InTCP 443Your administrators' browsersThe collector's management page (HTTPS)Can be turned off; you can also limit it to your management networks
InUDP 514Devices and serversLog messages (syslog; the site's settings in Uplivra can change the port)If devices send logs to this collector
InTCP 514Devices and serversLog messages (syslog over TCP)If devices send logs over TCP
InTCP 22Your administrators; Uplivra support when you invite themManaging the Linux system, or a support sessionOnly if you manage the Linux system this way or allow support sessions
OutTCP 443Your Uplivra server (or your MSP's master collector)Reporting results and fetching checks (HTTPS). The collector always connects out; nothing connects in to it for thisAlways
OutTCP 443 (the site server's relay port)Your site server: a collector with the relay role at this collector's siteReporting through the site server, and checking in with each site server every minute. Keep the rule above too: it's used whenever no site server answersOnly at sites with a site server

Customer collector connecting to an MSP over SSH

A collector at a customer site that reaches its MSP's master collector through an SSH tunnel instead of HTTPS.

DirectionProtocol and portWhoWhat forNeeded
InTCP 443Your administrators' browsersThe collector's management page (HTTPS)Can be turned off; you can also limit it to your management networks
InUDP 2055, 6343Routers, switches and firewallsTraffic flow records: NetFlow and IPFIX on 2055, sFlow on 6343 (the site's settings in Uplivra can change these)If you send traffic flows to this collector (Network Pro)
InUDP 4717Your other collectorsSite-to-site tests: another collector measures loss, latency and jitter to this one (the test's settings can change the port). Nothing listens unless a test is aimed at this collector, and it answers only probes signed with that test's keyOnly if a site-to-site test is aimed at this collector (Network Pro)
InUDP 4718The other collectors at the same siteShared site address: the site's collectors tell each other every second that they're up, so one holds the address devices send traps, syslog and flows to. Messages are signed with the site's keyOnly if the site has a shared address
InUDP 162Routers, switches, firewalls, UPSs and serversSNMP traps and informs, v1, v2c and v3 (the site's settings in Uplivra can change the port)If devices send SNMP traps to this collector
InUDP 514Devices and serversLog messages (syslog; the site's settings in Uplivra can change the port)If devices send logs to this collector
InTCP 514Devices and serversLog messages (syslog over TCP)If devices send logs over TCP
InTCP 22Your administrators; Uplivra support when you invite themManaging the Linux system, or a support sessionOnly if you manage the Linux system this way or allow support sessions
OutTCP 22Your MSP's master collectorReporting results and fetching checks, through an SSH tunnelAlways
OutICMP (ping)The devices you monitorPing checks, tracerouteAlways
OutUDP 161The devices you monitorSNMP checks (interfaces, CPU, memory, printers, UPS...), and routers' ARP and switches' MAC tables for MAC addresses and makersAlways
OutUDP 67The local network (broadcast)The rogue DHCP check asks which DHCP servers answer (it never takes an address). Answers come back on UDP 68, which firewalls allow as DHCP repliesOnly if you add the rogue DHCP check
OutTCP 22, 80, 443 and the ports you checkThe devices you monitorService, website, SSH (server health, configuration backups) and port checksOnly for the checks you add
OutTCP common ports such as 22, 80, 443, 445, 3389 and 9100 (or the ones you pick)The address ranges you scanDiscovery scans (with ping and SNMP UDP 161), including scans the Set up a network wizard startsOnly when a discovery scan runs
OutTCP/UDP 6514, 514 or 443Your SIEM, syslog server, HTTPS log collector or S3/Azure storageLog forwarding: copies of the logs and traps this collector receivesOnly if you set up log forwarding
OutTCP 22Network devices being upgradedCopying firmware images to devices with SFTP or SCP (Upgrade & Lifecycle). Never TFTP, FTP or TelnetOnly when you use Copy to device
OutTCP 22Cisco IOS/IOS-XE, Arista EOS and Juniper Junos devicesRestoring a saved configuration (Network Pro): the file is copied with SCP or SFTP and applied over SSHOnly when an approved restore runs
OutTCP 5985, 5986Windows computers you monitor, and Windows DHCP serversWindows checks (WMI over WinRM), and reading Windows DHCP scopes and leases with PowerShell over WinRM (Network Pro)Only for Windows checks and Windows DHCP servers you add
OutUDP 4717Your other collectorsSite-to-site tests this collector sends (the test's settings can change the port)Only for site-to-site tests from this collector (Network Pro)
OutTCP 8000ISC Kea DHCP servers (the Control Agent)Reading Kea's scopes and leases over its HTTP(S) API (Network Pro)Only for Kea servers you add (the port is set per server)
OutUDP 53, 123Your DNS and time serversDNS and time (NTP) checks, and name lookupsAlways
OutTCP 22, 3389, 80, 443 (the ones allowed)Devices on the site's networkRemote support sessions (SSH, Remote Desktop, web apps). They reach the collector inside its HTTPS connection; nothing new is opened incomingIf remote access is turned on for this collector

MSP master collector

Customer collectors connect through it to the MSP's Uplivra server, over HTTPS or SSH (SSH shown on 2222, since the computer's own SSH usually has 22; 22 works when it's free).

DirectionProtocol and portWhoWhat forNeeded
InTCP 443Customer collectors, or the other collectors at this site (it's their site server); your administrators' browsersCollectors reporting through this master collector or site server, and its management page (HTTPS)Always
InTCP 2222Customer collectors that connect over SSHCustomer collectors connecting through this master collector over SSH (a tunnel for the same HTTPS connection; registered collector keys only, no shell)Always
InUDP 2055, 6343Routers, switches and firewallsTraffic flow records: NetFlow and IPFIX on 2055, sFlow on 6343 (the site's settings in Uplivra can change these)If you send traffic flows to this collector (Network Pro)
InUDP 4717Your other collectorsSite-to-site tests: another collector measures loss, latency and jitter to this one (the test's settings can change the port). Nothing listens unless a test is aimed at this collector, and it answers only probes signed with that test's keyOnly if a site-to-site test is aimed at this collector (Network Pro)
InUDP 4718The other collectors at the same siteShared site address: the site's collectors tell each other every second that they're up, so one holds the address devices send traps, syslog and flows to. Messages are signed with the site's keyOnly if the site has a shared address
InUDP 162Routers, switches, firewalls, UPSs and serversSNMP traps and informs, v1, v2c and v3 (the site's settings in Uplivra can change the port)If devices send SNMP traps to this collector
InUDP 514Devices and serversLog messages (syslog; the site's settings in Uplivra can change the port)If devices send logs to this collector
InTCP 514Devices and serversLog messages (syslog over TCP)If devices send logs over TCP
InTCP 22Your administrators; Uplivra support when you invite themManaging the Linux system, or a support sessionOnly if you manage the Linux system this way or allow support sessions
OutTCP 443Your Uplivra serverReporting results, and passing customer collectors' connections on (HTTPS)Always
OutICMP (ping)The devices you monitorPing checks, tracerouteAlways
OutUDP 161The devices you monitorSNMP checks (interfaces, CPU, memory, printers, UPS...), and routers' ARP and switches' MAC tables for MAC addresses and makersAlways
OutUDP 67The local network (broadcast)The rogue DHCP check asks which DHCP servers answer (it never takes an address). Answers come back on UDP 68, which firewalls allow as DHCP repliesOnly if you add the rogue DHCP check
OutTCP 22, 80, 443 and the ports you checkThe devices you monitorService, website, SSH (server health, configuration backups) and port checksOnly for the checks you add
OutTCP common ports such as 22, 80, 443, 445, 3389 and 9100 (or the ones you pick)The address ranges you scanDiscovery scans (with ping and SNMP UDP 161), including scans the Set up a network wizard startsOnly when a discovery scan runs
OutTCP/UDP 6514, 514 or 443Your SIEM, syslog server, HTTPS log collector or S3/Azure storageLog forwarding: copies of the logs and traps this collector receivesOnly if you set up log forwarding
OutTCP 22Network devices being upgradedCopying firmware images to devices with SFTP or SCP (Upgrade & Lifecycle). Never TFTP, FTP or TelnetOnly when you use Copy to device
OutTCP 22Cisco IOS/IOS-XE, Arista EOS and Juniper Junos devicesRestoring a saved configuration (Network Pro): the file is copied with SCP or SFTP and applied over SSHOnly when an approved restore runs
OutTCP 5985, 5986Windows computers you monitor, and Windows DHCP serversWindows checks (WMI over WinRM), and reading Windows DHCP scopes and leases with PowerShell over WinRM (Network Pro)Only for Windows checks and Windows DHCP servers you add
OutUDP 4717Your other collectorsSite-to-site tests this collector sends (the test's settings can change the port)Only for site-to-site tests from this collector (Network Pro)
OutTCP 8000ISC Kea DHCP servers (the Control Agent)Reading Kea's scopes and leases over its HTTP(S) API (Network Pro)Only for Kea servers you add (the port is set per server)
OutUDP 53, 123Your DNS and time serversDNS and time (NTP) checks, and name lookupsAlways
OutTCP 22, 3389, 80, 443 (the ones allowed)Devices on the site's networkRemote support sessions (SSH, Remote Desktop, web apps). They reach the collector inside its HTTPS connection; nothing new is opened incomingIf remote access is turned on for this collector

Packet capture collector

Records switch SPAN (mirror) ports for Packet Capture. Only the management port has an address; the SPAN ports listen and never send, so they need no rules.

DirectionProtocol and portWhoWhat forNeeded
InTCP 443Your administrators' browsersThe collector's management page (HTTPS)Can be turned off; you can also limit it to your management networks
InTCP 22Your administrators; Uplivra support when you invite themManaging the Linux system, or a support sessionOnly if you manage the Linux system this way or allow support sessions
OutTCP 443Your Uplivra server (or your MSP's master collector)Fetching its license and settings, and sending pulled packet captures (HTTPS). Only from the management port; the SPAN ports have no address and send nothingAlways

Checking a connection

From the collector, check it can reach the server:

curl -k https://uplivra.yourcompany.com/healthz

It should print a short line with "status":"ok". If it times out, a firewall between them is blocking TCP 443. For SSH to a master collector:

ssh -p 2222 -o BatchMode=yes uplivra@master.yourmsp.com

"Permission denied" or "open failed" means the port is open and the master answered (it doesn't give shells). A timeout means it's blocked.