Windows Firewall RPC Dynamic Range not working

Philippe Marro 5 Reputation points
2023-02-08T13:49:36.01+00:00

Hi

I am setting some firewall rules through GPO, and I have to open Dynamic Port Range. I made a rule using TCP / Dynamic Port Range and another for TCP / RPC Endpoint Mapper. Port 3389 is also opened, because I try to make remote assistance to work on those servers.

But it doesn't work due to the rule Dynamic Port Range not being correctly interpreted, If I manually enter the range 49152-65535 then it works, but not with the value "Dynamic Port Range".

Anyone has seen this ?

Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 44,751 Reputation points
    2023-02-09T15:17:55.1466667+00:00

    Hello there,

    By default, RPC uses ports in the ephemeral port range (1024-5000) when it assigns ports to RPC applications that have to listen on a TCP endpoint. This behavior can make restricting access to these ports challenging for network administrators. This article discusses ways to reduce the number of ports available to RPC applications and how to restrict access to these ports by using a registry-based IPsec policy.

    https://support.microsoft.com/en-us/topic/how-to-configure-rpc-to-use-certain-ports-and-how-to-help-secure-those-ports-by-using-ipsec-2a94b798-063a-479a-8452-9cf07ac613d9

    This article helps you modify the Remote Procedure Call (RPC) parameters in the registry to make sure RPC dynamic port allocation can work with firewalls. https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/configure-rpc-dynamic-port-allocation-with-firewalls

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

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