Uplivra

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 you choose. Everything runs on HTTPS 443 by default; SSH is optional.

Uplivra Technologies LLC · Guide for Uplivra 26.10 · Updated 26 September 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 (not in router mode, see below; 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.

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.

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 sudo uplivra system ports -port 9443
A collector's management page"Port for the management page" (0 turns it off)sudo 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.

Router mode doesn't use SSH: there, customer collectors reach the master through the GRE/IPsec tunnels, over HTTPS.

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 ("Receive SNMP traps here"). The site's collector then listens on UDP 162 (you can pick another port there) for SNMP traps and informs, v1, v2c and v3. Point your devices' trap destination at the collector's 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
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 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 443licensing.uplivra.comLicense check-ins (monthly), update downloads, 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 443Microsoft Teams, Slack, PagerDuty, webhooks, 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
OutICMP (ping)The devices you monitorPing checks, tracerouteAlways
OutUDP 161The devices you monitorSNMP checks (interfaces, CPU, memory, printers, UPS...)Always
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/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
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

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 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 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
OutICMP (ping)The devices you monitorPing checks, tracerouteAlways
OutUDP 161The devices you monitorSNMP checks (interfaces, CPU, memory, printers, UPS...)Always
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/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
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

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

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 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...)Always
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/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
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; your administrators' browsersCustomer collectors connecting through this master collector, 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 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...)Always
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/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
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 router

An MSP master collector that also routes to customers over GRE/IPsec tunnels. Customer collectors reach it through the tunnels over HTTPS.

DirectionProtocol and portWhoWhat forNeeded
InTCP 443Customer collectors; your administrators' browsersCustomer collectors connecting through this master collector, 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 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 179Customer and upstream routersBGP routing (MSP router mode)Always
InUDP 500, 4500Customer routers and firewallsIPsec (GRE over IPsec tunnels to customers). Customer collectors reach the master through these tunnels on its HTTPS portAlways
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...)Always
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/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
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 500, 4500Customer routers and firewallsIPsec tunnels to customersAlways

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.