Hi guys,
I have a Microsoft Remote Desktop Services deployment in my company that is now configured, however I am still struggling with the firewall ports to open, and there seems to be no documentation on the web talking about it. (At least no up-to-date documentation)
My servers are all running on Windows Server 2016 Datacenter, and my clients are on Windows 10 Professional.
I have a server that acts as the Web Access, Licensing and Broker server (Let's call it RDWLB), another server that acts as the AD DC (Let's call it DC), and another as the RD session host. (Let's call it RDSH) NLA authentication is also enforced.
I have checked this link: https://social.technet.microsoft.com/wiki/contents/articles/16164.rds-2012-which-ports-are-used-during-deployment.aspx but not all ports I monitored are mentioned here.
Here are the ports I have identified as potentially being used when a client tries to login to a remote desktop. (X -> Y : TCP 123 means that the host X sends a packet to host Y on port 123)
RDWLB -> RDSH : TCP 135, 1317, 1322, 1535, 1537
-> DC : TCP 88, 135 & UDP 53, 389
Client -> RDSH : TCP 3389 & UDP 3389
-> RDWLB : TCP 3389 & UDP 3389
-> DC : TCP 88 & UDP 53, 389
DC -> RDSH : TCP 1025, 1036to1039, 1041to1046, 3035
RDSH -> DC : TCP 88, 389, 3389 & UDP 53, 389, 3389
I am OK with the ports not in bold, but would someone please be able to explain to me what the ports in bold are?
If I block some of them, it slows down the connection process, in particular the 1535 & 1537 ones, where it gets stuck on "Securing Remote Connection..." for some time.
Thanks in advance!