RD Gateway Firewall Setup Question

Anonymous
2020-07-15T05:45:43.187+00:00

=================
Hello,
I was reviewing this Technet forum thread in addition to other articles, and from what I understand, I do not need to set up the firewall rules on my external firewall for my RD Gateway server as a terminal server(TCP port 3389), but only as a web server(TCP port 443 and possibly UDP port 3391).
"Firewall rules for the path between the external network and the perimeter network (Ports that need to be opened on the external firewall):
· Port TCP:443 should be opened for allowing HTTPS traffic from the client sitting on the Internet to the RD Gateway server in the perimeter network.
"
https://social.technet.microsoft.com/Forums/windows/en-US/a241a5be-e39d-4dfc-a513-e4f83c4dc906/rd-gateway-ports-and-certificates?forum=winserverTS


This article adds UDP port 3391 in addition to port 443:
https://blog.alschneiter.com/2015/10/28/rds-rd-gateway-ports/


Please clarify. thank you,
Brian

TechNet forum original post link:
https://social.technet.microsoft.com/Forums/windowsserver/en-US/5ece1bf6-52d2-4761-970e-28a69fb0a964/rd-gateway-firewall-setup-question?forum=winserverTS

Windows for business | Windows Client for IT Pros | User experience | Remote desktop services and terminal services
0 comments No comments

Answer accepted by question author

Jenny Yan-MSFT 9,376 Reputation points
2020-07-15T08:29:59.393+00:00

Welcome to our new Microsoft Q&A Platform.
Hi,
You could check the instructions from the official document:
For inbound external internet based traffic from RD Clients to the Gateway:
• TCP 443:  HTTP (includes RPC over HTTP) over SSL - (configurable using RD Gateway Management console)
• 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)
For internal traffic from the Gateway and the Internal Remote Desktop resources
• TCP|UDP 3389: RDP (NOTE: Firewalls that have directional UDP analysis, such as TMG, require UDP "Send Receive" configured in the UDP protocol)
 
Reference link:
https://social.technet.microsoft.com/wiki/contents/articles/16164.rds-2012-which-ports-are-used-during-deployment.aspx
 
Thanks

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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