Hello @brichardi
The firewall rule would be Remote Desktop - User Mode (TCP-In) & Remote Desktop - User Mode (UDP-In), you could refer to this thread for more details.
For managing Windows Firewall by GPO you could see article: Group Policy Management of Windows Firewall with Advanced Security
Best Regards
Karlie
----------
If the Answer is helpful, please click "Accept Answer" and upvote it.