Set-NetFirewallHyperVVMSetting is not recognized. #11380
Replies: 12 comments
-
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 |
Beta Was this translation helpful? Give feedback.
-
/question
…________________________________
|
Beta Was this translation helpful? Give feedback.
-
Diagnostic information
|
Beta Was this translation helpful? Give feedback.
-
how can I solve the issue? |
Beta Was this translation helpful? Give feedback.
-
Diagnostic information
|
Beta Was this translation helpful? Give feedback.
-
@lawrenceegr that cmdlet is part of the More details at https://learn.microsoft.com/en-us/powershell/module/netsecurity/get-netfirewallhypervvmsetting?view=windowsserver2022-ps |
Beta Was this translation helpful? Give feedback.
-
import-module -name netsecurity Key Value Get-DAPolicyChange Get-DAPolicyChange |
Beta Was this translation helpful? Give feedback.
-
@lawrenceegr , sorry, we do not support Hyper-V Firewall on Windows 10. It's only supported currently in Windows 11. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
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) |
Beta Was this translation helpful? Give feedback.
-
Let me try that. |
Beta Was this translation helpful? Give feedback.
-
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
Beta Was this translation helpful? Give feedback.
All reactions