Specifying the requirements for outbound network ports and protocols for Microsoft Teams
Although we understand the bandwidth requirements and how to use Network Planner for a Microsoft Teams deployment, we also need to be aware that several network ports and protocols will need to be opened on your organization's firewalls to ensure that Teams works correctly.
Opening media ports
UDP ports 3478
through 3481
for IP addresses 13.107.64.0
/18
, 52.112.0.0
/14
, and 52.120.0.0
/14
must be opened at all your business locations for Teams media requirements.
Creating the required DNS records for custom domains
Any custom domains that are added to your Microsoft 365 tenant that you want to use with Microsoft Teams will need to have CNAME
DNS record values added to your domain hosting control panel.
The first of these records is as follows:
- Hostname:
sip
- TTL:
3600
- Value: sipdir.online.lync.com
The second of these records is as follows:
- Hostname:
lyncdiscover
- TTL:
3600
- Value: webdir.online.lync.com
In addition to these ports and DNS records, several more ports and protocols relate to Microsoft Teams. It is highly recommended that you review and familiarize yourself with them by reviewing the relevant Microsoft documentation, which can be found at https://docs.microsoft.com/en-us/microsoft-365/enterprise/urls-and-ip-address-ranges?view=o365-worldwide#skype-for-business-online-and-microsoft-teams.
Note
Skype for Business Online was retired at the end of July 2021.
Understanding the steps that you need to complete concerning these ports and protocols is a key part of ensuring the success of your Microsoft Teams deployment.
Next, we will look at WAN optimizer, proxy, and load balancer options for Microsoft Teams.