You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/windows-server/remote/sample.md
+36-36Lines changed: 36 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,46 +7,52 @@ _tocRel: toc.json
7
7
author: Archiveddocs
8
8
ms.author: Archiveddocs
9
9
---
10
-
# RDS 2012: Which ports are used during deployment?
10
+
# Ports that are used by RDS
11
11
12
-
To configure Remote Desktop Services correctly for internet access or any time where firewalls are used, it is useful to know what ports are required.
12
+
This article introduces the ports that are required to open on firewalls in order to configure Remote Desktop Services correctly.
13
13
14
-
The information / taxonomy is broken down by role service/component, and lists all inbound/outbound ports used.
14
+
The information and taxonomy is broken down by role service and component, and lists all inbound and outbound ports used.
15
15
16
-
## From Client to RD Resource
16
+
## From Client to Remote Desktop Resource
17
17
18
-
- If using RDWeb
19
-
- TCP 443 (HTTPS)
20
-
- TCP|UDP 3389: Standard RDP port. Can be configured on host and client to a different port number.
18
+
- TCP 443 (HTTPS) needs to be open if RDWeb is deployed.
19
+
- TCP and UDP 3389: Standard RDP port. Can be configured on host and client to a different port number.
21
20
22
21
## Remote Desktop Connection Broker (RDCB)
23
22
24
23
- TCP 5504: connection to RD Web Access
25
24
- TCP 3389: connection to RD Session Host
26
25
- TCP 3389: connection to non-managed VM pools, managed machines use VMBus to open port.
27
26
- TCP 3389: client port for clients not using RD Gateway
28
-
- TCP 445|RPC: connection to RD Virtualization Host
29
-
- TCP 445|RPC: connection to RD Session Host
27
+
- TCP 445 and RPC: connection to RD Virtualization Host
28
+
- TCP 445 and RPC: connection to RD Session Host
30
29
- TCP 5985: WMI and PowerShell Remoting for administration
31
30
32
31
## Remote Desktop Gateway
33
32
34
-
- For inbound external internet based traffic from RD Clients to the Gateway:
35
-
- TCP 443: HTTP (includes RPC over HTTP) over SSL - (configurable using RD Gateway Management console)
36
-
- UDP 3391: RDP/UDP (configurable using RD Gateway Management console) (NOTE: Firewalls that have directional UDP analysis, such as TMG, require UDP "Send Receive" configured)
37
-
- For internal traffic between the Gateway and the required User AD, Resource AD, DNS, NPS etc:
38
-
- TCP 88: Kerberos for user authentication
39
-
- TCP 135: RPC Endpoint Mapper
40
-
- TCP: \<\>, Port on which NTDS RPC services listens on AD
41
-
- TCP|UDP 389: LDAP for user authentication
42
-
- TCP|UDP 53: Internal resource name resolution, DNS
43
-
- TCP|UDP 389: If using LDAP for Certificate Revocation List (CRL)
44
-
- TCP 80: If using HTTP for Certificate Revocation List (CRL)
45
-
- TCP 21: If using FTP for Certificate Revocation List (CRL)
46
-
- UDP 1812, 1813: If NPS Server is being used
47
-
- TCP 5985: WMI and PowerShell Remoting for administration
48
-
- For internal traffic from the Gateway and the Internal Remote Desktop resources
49
-
- TCP|UDP 3389: RDP (NOTE: Firewalls that have directional UDP analysis, such as TMG, require UDP "Send Receive" configured in the UDP protocol)
33
+
For inbound external internet based traffic from RD Clients to the Gateway:
34
+
35
+
- TCP 443: HTTP (includes RPC over HTTP) over SSL - (configurable using RD Gateway Management console)
36
+
- UDP 3391: RDP/UDP (configurable using RD Gateway Management console) (NOTE: Firewalls that have directional UDP analysis, such as TMG, require UDP "Send Receive" configured)
37
+
38
+
For internal traffic between the Gateway and the required User AD, Resource AD, DNS, NPS etc:
39
+
40
+
- TCP 88: Kerberos for user authentication
41
+
- TCP 135: RPC Endpoint Mapper
42
+
- TCP: 135, Port on which NTDS RPC services listens on AD
43
+
- TCP and UDP 389: LDAP for user authentication
44
+
- TCP and UDP 53: Internal resource name resolution, DNS
45
+
- TCP and UDP 389: If using LDAP for Certificate Revocation List (CRL)
46
+
- TCP 80: If using HTTP for Certificate Revocation List (CRL)
47
+
- TCP 21: If using FTP for Certificate Revocation List (CRL)
48
+
- UDP 1812, 1813: If NPS Server is being used
49
+
- TCP 5985: WMI and PowerShell Remoting for administration
50
+
51
+
For internal traffic from the Gateway and the Internal Remote Desktop resources:
52
+
53
+
- TCP and UDP 3389: RDP
54
+
> [!Note]
55
+
> Firewalls that have directional UDP analysis, such as TMG, require UDP "Send Receive" configured in the UDP protocol
50
56
51
57
## Remote Desktop Web Access
52
58
@@ -55,25 +61,21 @@ The information / taxonomy is broken down by role service/component, and lists a
55
61
- TCP 5504: connection to RD Connection Broker for centralized publishing
56
62
- TCP 5985: WMI and PowerShell Remoting for administration
57
63
58
-
<!---->
59
-
60
-
- If ISA is used, please refer to <http://www.isaserver.org/articles/2004perimeterdomain.html>
61
-
62
64
## Remote Desktop Session Host
63
65
64
66
- RD License Server Port RPC
65
-
- TCP 389|636: Active Directory communication
67
+
- TCP 389 and 636: Active Directory communication
66
68
- TCP 5985: WMI and PowerShell Remoting for administration
67
69
68
70
## Remote Desktop Virtualization Host
69
71
70
72
- RD License Server Port RPC
71
-
- TCP 389|636: Active Directory communication
73
+
- TCP 389 and 636: Active Directory communication
72
74
- TCP 5985: WMI and PowerShell Remoting for administration
73
75
74
76
## Remote Desktop Licensing Server
75
77
76
-
Information for Terminal Server in Windows Server 2008 is at <http://support.microsoft.com/KB/832017#method26> The ports used have not changed in Windows Server 2012 | R2. The summary follows.
78
+
For more information, see [RDS Licensing (RDSL)](../networking/service-overview-and-network-port-requirements.md#rds-licensing-rdsl).
77
79
78
80
### TCP
79
81
@@ -85,14 +87,12 @@ Information for Terminal Server in Windows Server 2008 is at <http://support.mic
85
87
- TCP 5985: WMI and PowerShell Remoting for administration
86
88
- TCP 139 - NetBIOS session service
87
89
88
-
How to configure which ports (if need to set to specifics) <http://support.microsoft.com/kb/154596/>
90
+
For more information, see [How to configure RPC dynamic port allocation to work with firewalls](../networking/configure-rpc-dynamic-port-allocation-with-firewalls.md).
89
91
90
92
### NetBIOS
91
93
92
94
- UDP 137 - NetBIOS Name resolution
93
95
- UDP 138 - NetBIOS datagram
94
96
- UDP|TCP 389 LDAP - Used with per-user CALs against Active Directory
95
97
96
-
From a proxy standpoint, the regkey HKLM\Software\Microsoft\TermServLicensing\lrwiz\Params shows the Microsoft service that the RD LS communicates with. e.g. clearinghouse.one.microsoft.com
97
-
98
-
98
+
From a proxy standpoint, the registry key `HKLM\Software\Microsoft\TermServLicensing\lrwiz\Params` shows the Microsoft service that the RD LS communicates with.
0 commit comments