Skip to content

Create Firewall Rules #1782

Description

@mottech20

Description of the new feature / enhancement

Currently I have an 'App Installer' predefined rule in my Windows Defender Firewall with Advanced Security. The rule allows outbound traffic for the "Microsoft.DesktopAppInstaller_*" app package. However, this rule doesn't seem to cover all executables in the package and winget can still send outbound traffic even if this rule is blocked.

But on the opposite end, if all outbound traffic is blocked in the firewall, winget will not be able to send/receive data even if this rule is enabled. Another rule needs to be defined to give AppInstallerCLI.exe permission for outbound traffic.

Since the path of the AppInstallerCLI.exe changes with every update, it gets quiet bothersome to update the firewall rule every time.

Proposed technical implementation details

  • Include AppInstallerCLI.exe in the predefined firewall rule for App Installer.
  • Update the corresponding firewall rule with each version update.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-FeatureThis is a feature request for the Windows Package Manager client.

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions