LLI Wiki — My Digital Knowledge Base

Fix the MS DTC RPC port range for firewalls

Restrict the RPC ports used by Microsoft Distributed Transaction Coordinator (MS DTC) to a fixed range so that firewall rules can be written for it.

Microsoft Distributed Transaction Coordinator (MS DTC) uses dynamic RPC ports by default, which makes firewall rules difficult to write. Fixing its RPC traffic to a port range, set in the Rpc registry key, makes it possible to open that range in the firewall.

Registry values

Set the following values under HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc:

Value name Type Data Purpose
Ports REG_MULTI_SZ 5000-5020 RPC port range
PortsInternetAvailable REG_SZ Y Set as in the source
UseInternetPorts REG_SZ Y Set as in the source

References

Notes

Mastodon LLIMastodon SocialFosstodon