{{attention|If you use a custom ports range, you have to create new rules to open that range specifically (inbound and outbound).}}
Here's a documentation about how to add firewall rules with the Powershell:
https://learn.microsoft.com/en-us/powershell/module/netsecurity/new-netfirewallrule?view=windowsserver2022-ps
= Test-Dtc and DTCPing =