# Ports and Carriers

Source: https://docs.qvoice.net/whitelabel/ports-and-carriers/

The firewall ports a white label cluster must open, and how it connects to carrier SIP trunks.
Back to [Get Started](https://docs.qvoice.net/whitelabel/).

**Note:**

This page is for the partner's own servers. The addresses and ports a customer opens to reach
the QVOICE cloud are in [IPs and Ports](https://docs.qvoice.net/service-endpoints/).

## Ports

Open these ports on each server:

| Service | Protocol | Ports |
| --- | --- | --- |
| Web | TCP | 443 |
| SSH | TCP | 22 |
| API server | TCP | 8443, 9443 |
| SIP | TCP | 5060, 5061, 5065, 7000, 7001 |
| SIP | UDP | 5060, 7000 |
| RTP (media) | UDP | 16384 to 63768 |
| STUN / WebRTC | UDP | 3478, 5349, 33478 |
| STUN / WebRTC | TCP | 3478, 5349, 33478 |
| Email to fax (optional) | TCP | 25 |
| Secured TFTP for legacy devices (optional) | UDP | 69 |

## Carrier trunks

The platform must connect to one or more carrier SIP trunks.

- Load-balance across more than one SIP trunk, for redundancy.
- Ask the carrier to load-balance inbound calls across the IPs of all three servers.

| Option | How it works |
| --- | --- |
| One shared trunk (recommended) | One big SIP trunk from the platform to your carrier. Every customer uses that one account. |
| A trunk per tenant | Each tenant account has its own SIP trunk to the carrier. |

How a trunk is created in the Portal, and how an account chooses its parent's trunks or its own,
is in [SIP Trunks](https://docs.qvoice.net/admin/sip-trunks/).
