Firewall Ports Required to Join AD Domain

Refer to the lab below on the testing done to verify Firewall Ports Required to Join AD Domain

Components in this lab

  • Windows 10 Machine –
  • Windows 2019 AD Domain Controller –
  • Firewall Policy in PfSense
  1. Block Access from to
  2. Block Access from to

The Firewall Ports will be opened one by one from to to verify the actual ports required

Firewall Ports required to join AD Domain (Minimum)

Windows 10 Client can join to Windows 2019 AD Domain with the following Ports allow in Firewall

Without TCP High Ports open

The following Message appear even join to domain successfully and there is a lot of TCP high ports are blocked in Firewall

  • Group Policy cannot be applied
  • It take very long time to for computer to startup and login to domain successfully

Optional Ports

Without TCP 464 Open

User can still change their password successfully even thought TCP 464 is blocked in Firewall

Firewall Rules in pfesense Firewall

The following Firewall Rule is created

  1. Traffics from WIN10 ( to AD Domain Controller (

Firewall ports required to join AD Domain

  1. Traffics from AD Domain Controller ( to WIN10 ( – All Block

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top