Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save EngKhaledB/5d1d6e74edeb0205c6a3d30f3efcf72d to your computer and use it in GitHub Desktop.
Save EngKhaledB/5d1d6e74edeb0205c6a3d30f3efcf72d to your computer and use it in GitHub Desktop.
Window Firewall Allow WSL 2

Window Firewall Allow WSL 2

Run in PowerShell

New-NetFirewallRule -DisplayName "WSL" -Direction Inbound -InterfaceAlias "vEthernet (WSL)" -Action Allow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment