CyberGate Network Requirements
CyberGate Network Requirements
As CyberGate is a SaaS (Software as a Service) solution, the SIP traffic and RTP (audio / video) coming from SIP devices like intercoms, cameras and pagers is directed to CyberGate.
Most networks are equipped with firewalls. To make sure CyberGate functions without issues, configuration of the locally used firewalls is essential.
Outbound port configuration
Devices connecting to CyberGate are creating outbound traffic. Therefore the following ports need to be opened on firewalls:
Port(s) / Protocol | Direction | Destination | Reason |
|---|---|---|---|
5060 / TCP | Outbound | cybergate.cybertwice.com | SIP messaging |
5061 / TCP | Outbound | cybergate.cybertwice.com | SIP - TLS messaging (secure SIP) |
30000 - 30199 / UDP | Outbound | cybergate.cybertwice.com | (S)RTP ports (containing audio and video) |
Use the DNS name cybergate.cybertwice.com as the destination address. Do not use the resolved IP addresses as they will change without notice!
Teams client requirements
The ports above apply to the SIP devices (intercoms, cameras, pagers) that connect to CyberGate. The computers and mobile devices running Microsoft Teams, which answer the calls, need their own outbound connectivity for audio and video.
Port(s) / Protocol | Direction | Destination | Reason |
|---|---|---|---|
3478 - 3481 / UDP | Outbound | Microsoft 365 Teams media ranges (endpoint set ID 11) | Teams media via Microsoft Transport Relays |
50000 - 50999 / UDP | Outbound | Any | Direct media path between CyberGate and Teams |
The CyberGate media servers do not use fixed IP addresses, so the rule for 50000 - 50999 / UDP cannot be limited to a specific destination. Do not use cybergate.cybertwice.com as the destination for this rule: that name resolves to a different address than the one the media is sent to.
Both port ranges must be open. If either range is blocked, Teams falls back to an alternative route after a timeout. Audio then works immediately, but video starts several seconds after the call is answered.
For the current Microsoft 365 IP ranges, see Microsoft 365 URLs and IP address ranges (section Microsoft Teams, ID 11). Microsoft updates this list regularly, so do not copy the IP addresses into static firewall rules without a process to keep them up to date.
Symptom of blocked Teams media ports
- Two-way audio starts immediately when the call is answered.
- Video appears several seconds later, with the same delay on every call.
- The delay does not depend on the intercom model or its video settings.
Verifying connectivity
Run the Microsoft Teams Network Assessment Tool on a computer running Teams. The tool checks the connection to the Microsoft Teams relays and the addresses and ports from Microsoft's list. If these checks fail over UDP, the firewall blocks the Teams media ports.
Teams can also send media over TCP 443 when UDP is blocked. Calls will connect, but video starts later and audio and video quality is lower.
SIP ALG
A setting that can cause connection issues to CyberGate is the so called SIP ALG (SIP Application Layer Gateway).
SIP ALG is often enabled by default on firewalls. Although this feature should improve SIP messaging in theory, in practice it almost always does the opposite.
It is recommended to disable SIP ALG on the firewall for the devices that connect to CyberGate to prevent connectivity issues.
Communication Test Script
To test connections to CyberGate a Communication Test Script is available on the CyberGate management portal (admin.cybergate.cybertwice.com).
This Communication Test Script is a PowerShell script that will test all communication paths to CyberGate. The output of the script will show the outcome of the Communication Test Script.
In case of connection issues, download and run this Communication Test Script first.