Windows

Service and Network Port requirements for Active Directory

Active Directory

Active Directory communication involves the following ports and as a system administrator, you must be familiar with some of the following ports already. In this article, we will discuss the Service and Network Port requirements for Active Directory. You may want to see the following related guides: Pass-Through Authentication with on-Premise AD, reasons to deploy AADMicrosoft Azure Active Directory: How to setup Azure AD Tenant, and how to set up an Azure AD Tenant,  and how to add a custom domain in the Azure Active directory.

Enterprises use Active Directory for authentication, server and workstation management, group policy management, etc. In this guide, the most important network ports, protocols, and services used by Microsoft client and server operating systems. And their subcomponents are listed in the table below.

If you enable the Windows Firewall or if there is an external Firewall for your Active Directory Domain Services (ADDS) in this case Domain Controller Server. You need to set up the allowed port for Domain Controller correctly. The table below will show you all ports that are needed for the domain controller.

Network Port Security for Microsoft Server Products

Microsoft server products use a variety of network ports and protocols to communicate with client systems and with other server systems over the network.

You need dedicated firewalls, host-based firewalls, and IPSec filters to secure your network. If you configure these technologies to block ports and protocols a specific server uses, it won’t respond to client requests.

Application protocolProtocolPorts
Active Directory Web Services (ADWS)TCP9389
Active Directory Management Gateway ServiceTCP9389
Global CatalogTCP3269
Global CatalogTCP3268
ICMPNo port number
Lightweight Directory Access Protocol (LDAP) ServerTCP389
LDAP ServerUDP389
LDAP SSLTCP636
IPsec ISAKMPUDP500
NAT-TUDP4500
RPCTCP135
RPC randomly allocated high TCP ports¹TCP1024 – 5000
49152 – 65535²
SMBTCP445

The LSASS process runs Active Directory. This requires specific port connections between domain controllers and client servers on TCP ports 1024 to 65535. You may want to learn more here.

I hope you found this blog post on the “Service and Network Port requirements for Active Directory” helpful. Please let me know in the comment session if you have any questions.

Subscribe
Notify of
guest

1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
reyhan

keren banget mantap

1
0
Would love your thoughts, please comment.x
()
x