Sign up for Office 365
Learn more about Office 365
443
STUN/TCP
Outbound
Audio, video, and application sharing sessions
PSOM/TLS
Data sharing sessions
3478
STUN/UDP
Audio and video sessions
5223
TCP
Ourbound
Lync mobile push notifications
50000-59999
RTP/UDP
Additionally, you should make sure the firewall allows Microsoft Online Services Sign-In Assistant traffic. To do this, take the following steps if you are using Microsoft Forefront Threat Manager Gateway. Similar steps can be taken for other gateways.
Application
Key
Value
msoidsvc
Disable
0
DisableEx
If you are using your own domain name with Office 365, contact your domain name registrar for details about how to make the following changes to your DNS records.
Type
Host name
Destination
TTL
CNAME
sip.yourDomainName.com
sipdir.online.lync.com
1 hour
lyncdiscover.yourDomainName.com
webdir.online.lync.com
Service
Protocol
Port
Weight
Priority
Name
Target
SRV
_sip
_tls
1
100
yourDomainName.com
If your organization supports external communication (that is, connections with other organizations that have external communication enabled), add the following DNS Service (SRV) record as well:
_sipfederationtls
_tcp
5061
sipfed.online.lync.com
If your organization’s Internet proxies or firewalls are configured to block external SRV queries, add the following CNAME and and SRV entries to your internal DNS server:
lyncdiscoverinternal.yourDomainName.com
Microsoft Lync 2010 is not automatically added as a program to be allowed by the Windows Firewall. Add Microsoft Lync 2010 to the list of programs allowed to pass through the firewall manually to make it work.
I would add to the list that check that you have the latest version of Lync.
This is looking good, thanks Patrick! :-)
@heikki.tauriainen, thanks for the suggestion, several others have mentioned that as well. See step 2 at the beginning of the article. Cheers!
What about this SRV Record for internal SIP traffic\communications?
Service: _sip
Protocol: TLS
Priority: 100
Weight: 1
Port: 443
Target: sipdir.online.lync.com
This record is referenced in both kb 2566790 (support.microsoft.com/default.aspx) as well as the Microsoft Office 365 for Enterprises Deployment Guide (community.office365.com/.../default.aspx) Section 3.6.2 External DNS Records.
@Bill H: Hi Bill, the very last table in this topic lists the SRV record for internal DNS servers. Is that what you were looking for?