Advertisement
zsolt_szikora

Fix WSL2 name resolution problems

Feb 22nd, 2023 (edited)
765
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Run this in a PowersSell started as Administrator
  2. New-NetFirewallRule -DisplayName "WSL_Inbound" -Direction Inbound   -InterfaceAlias "vEthernet (WSL)"  -Action Allow
  3. New-NetFirewallRule -DisplayName "WSL_Outbound" -Direction Outbound   -InterfaceAlias "vEthernet (WSL)"  -Action Allow
  4.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement