Join server to domain

Glenn Maxwell 12,871 Reputation points
2022-11-28T21:02:21.783+00:00

Hi All

i have two servers(2019/2016) in an untrusted network and i want to join these servers to the domain. i need to allow ports in the network firewall to join to the domain. Are the below ports enough for joining the server to the domain.

TCP 88
TCP 135
TCP 139
TCP 389
TCP 445
UDP 53
UDP 389
TCP 49152-65535

Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

Accepted answer
  1. JimmySalian-2011 42,491 Reputation points
    2022-11-28T21:04:07.573+00:00

    Hi,

    This should help you in creating the FW rules to allow connectivity to the Domain - config-firewall-for-ad-domains-and-trusts

    Hope this helps.
    JS

    ==
    Please Accept the answer if the information helped you. This will help us and others in the community as well.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Limitless Technology 44,751 Reputation points
    2022-11-30T12:45:53.853+00:00

    Hello

    Thank you for your question and reaching out. I can understand you are having query\issues related to firewall ports opening for AD communication.

    Additionally please try to Open below ports as well for domain controller communication.

    LDAP TCP-in - 389
    LDAP UDP in - 389
    LDAP for Global Catalog TCP in - 3268
    NetBIOS name Resolution UDP in - 138
    SAM/LSA TCP in - 445
    SAM/LSA UDP in - 445
    Secure LDAP TCP in - 636
    Secure LDAP for Global Catalog TCP in - 3269
    W32Time NTP UDP in - 123
    RPC - RPC Dynamic
    RPC Endpoint Mapper
    DNS - TCP and UDP 53
    Kerberos V5 UDP in - 88
    Netbios Datagram UDP in - 137

    -------------------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.