Exchange Online and Office 365 firewall settings for internal and external access.

Posted on 2014-04-23
Medium Priority
Last Modified: 2014-05-25
I am preparing for Exchange Online to migrate all of our mailboxes to the cloud using a hybrid solution offered by microsoft. In that solution, they have stated a requirement to have an ADFS server and an DirSync server.

Now when I build our servers, all the ports are locked down by default by our hosting company. I am trying to keep this as secure as possible. I am assuming that ADFS needs to be externally facing. What ports will I need to open for the external connectivity.

Also what ports will i require for the internal connectivity between our internal servers.

Lastly, does the DirSync tool need external access and if so what ports are required internally and externally or does the DirSync just need to connect to the ADFS server from the Domain Controller?

 Please help! Newbie with Office 365.
Question by:MSSC_support
  • 3
  • 2
LVL 46

Expert Comment

by:Vasil Michev (MVP)
ID: 40017788
You can review all the URLs/IPs and Ports needed here:



Depending on which services you are going to use, you might not need some of those. Dirsync needs external access, on 443 (and 80). Use AD FS proxies for external access, the port is again 443.

Accepted Solution

MSSC_support earned 0 total points
ID: 40019527
Thats great, how about the internal ports I will need?
LVL 46

Expert Comment

by:Vasil Michev (MVP)
ID: 40019729
For AD FS you need 443, dirsync uses LDAP ones.

Author Comment

ID: 40078016
Got it. Thanks All.

Author Closing Comment

ID: 40089266
The site had all the ports i required.

Featured Post

Managing Security Policy in a Changing Environment

The enterprise network environment is evolving rapidly as companies extend their physical data centers to embrace cloud computing and software-defined networking. This new reality means that the challenge of managing the security policy is much more dynamic and complex.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Office 365 has multiple features and services which are specially designed to help businesses to reduce their dependence on on-premises IT resources. It also offers great flexibility and enhanced security. But like any other data, Office 365 mailbo…
Here is a method which can be used to help resolve a "Content Index Failed" error on a Microsoft Exchange Server.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
The video will let you know the exact process to import OST/PST files to the cloud based Office 365 mailboxes. Using Kernel Import PST to Office 365 tool, one can quickly import numerous OST/PST files to Office 365. Besides this, the tool also comes…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question