Repository navigation
Set-NetFirewallHyperVVMSetting is not recognized. #11380
Replies: 12 comments 2 replies
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt: The scipt will output the path of the log file once done. Once completed please upload the output files to this Github issue. Click here for more info on logging |
|
/question
…________________________________
|
Diagnostic information |
|
how can I solve the issue? |
Diagnostic information |
|
Lawrence Langat(Boltext) (@lawrenceegr) that cmdlet is part of the More details at https://learn.microsoft.com/en-us/powershell/module/netsecurity/get-netfirewallhypervvmsetting?view=windowsserver2022-ps |
|
import-module -name netsecurity Key Value Get-DAPolicyChange Get-DAPolicyChange |
|
Lawrence Langat(Boltext) (@lawrenceegr) , sorry, we do not support Hyper-V Firewall on Windows 10. It's only supported currently in Windows 11. |
|
|
Sorry, mirrored mode is only available in Windows 11 :( In Windows 10, this goes through NAT and a local redirector. so if you are listening on that port on the host, you'll need to create a local Firewall rule. (e.g. New-NetFirewallRule) |
|
Let me try that. |

Uh oh!
There was an error while loading. Please reload this page.
I expect to have traffic fowarding from the WSL VM after writing the following command:
But this is what I got:

I am runninng WSL2 Ubuntu 22.04 on Windows 10
All reactions