Skip to main content

Add Windows Firewall Rules

This Script Builder tool creates Windows Firewall rules from the Master Wrapper interface and generates the required PowerShell commands automatically.

Add Windows Firewall rules — Script Builder

Create firewall rules

  1. Select Browse target file and choose the target .exe file. The full path is added to Path automatically.
  2. Enter a Name for the firewall rule.
  3. Choose the Direction: Inbound, Outbound, or both.
  4. Select the Profiles the rule should apply to: Public, Private, or Domain.
  5. Choose the Protocol: TCP, UDP, or both.

After you enter the details, Master Wrapper generates the PowerShell commands automatically.

Generated code

OutputDescription
Install codeContains the generated New-NetFirewallRule commands. Copy it into the Install or Repair section.
Uninstall codeContains the generated Remove-NetFirewallRule command for cleanup during uninstallation.