GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — wsl: Hyper-V firewall is not supported wsl: Mirrored networking mode is not supported, falling back to NAT networking · Issue #10495 · microsoft/WSL

wsl: Hyper-V firewall is not supported wsl: Mirrored networking mode is not supported, falling back to NAT networking #10495

New issue
Copy link
New issue
Copy link
Closed
Closed
wsl: Hyper-V firewall is not supported wsl: Mirrored networking mode is not supported, falling back to NAT networking#10495
Copy link
Assignees
keith-horton
Labels
network

Description

@Morrigan-Ship
Morrigan-Ship
opened on Sep 19, 2023
Issue body actions

Windows Version

10.0.25931.1000

WSL Version

2.0.0.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.123.1-1

Distro Version

ubuntu 22 and kali linux

Other Software

cmd

Repro Steps

wsl - kali or ubuntu:

error:
wsl: Hyper-V firewall is not supported
wsl: Mirrored networking mode is not supported, falling back to NAT networking

Expected Behavior

wsl - kali or ubuntu:

error:
wsl: Hyper-V firewall is not supported
wsl: Mirrored networking mode is not supported, falling back to NAT networking

but linux will start

Actual Behavior

wsl - kali or ubuntu:

error:
wsl: Hyper-V firewall is not supported
wsl: Mirrored networking mode is not supported, falling back to NAT networking

but linux will start

Diagnostic Logs

No response

Reacted by Michiel Lankamp, Heechul So, Mendel Greenberg, Lucas Espinar, Gabriele Castellano, ChanCody and Asad Kamal

Activity

Next
  1. Ben Hillis (benhillis)
    added
    network
    on Sep 19, 2023
  2. benhillis commented on Sep 19, 2023

    @benhillis
    Ben Hillis (benhillis)
    on Sep 19, 2023
    Member
    More actions

    /logs

  3. microsoft-github-policy-service commented on Sep 19, 2023

    @microsoft-github-policy-service
    microsoft-github-policy-serviceBot
    on Sep 19, 2023
    Contributor
    More actions

    Hello! Could you please provide more logs to help us better diagnose your issue?

    To collect WSL logs, download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

    Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
    Set-ExecutionPolicy Bypass -Scope Process -Force
    .\collect-wsl-logs.ps1
    

    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

    Thank you!

  4. microsoft-github-policy-service
    added
    needs-author-feedback
    on Sep 19, 2023
  5. Morrigan-Ship commented on Sep 19, 2023

    @Morrigan-Ship
    Morrigan-Ship
    on Sep 19, 2023
    Author
    More actions

    WslLogs-2023-09-19_08-58-05.zip

  6. microsoft-github-policy-service
    removed
    needs-author-feedback
    on Sep 19, 2023
  7. mlankamp commented on Sep 19, 2023

    @mlankamp
    Michiel Lankamp (mlankamp)
    on Sep 19, 2023
    More actions

    Have the same problem
    WslLogs-2023-09-19_21-38-24.zip

  8. mrdev023 commented on Sep 19, 2023

    @mrdev023
    Florian Richer (mrdev023)
    on Sep 19, 2023
    More actions

    WslLogs-2023-09-19_21-43-45.zip
    Same problem

  9. Morrigan-Ship commented on Sep 19, 2023

    @Morrigan-Ship
    Morrigan-Ship
    on Sep 19, 2023
    Author
    More actions

    i think i know how we can fix it
    but i cannot do it because important information
    if anyone tested send the result
    :

    in first remove all linux distro then full remove wsl(dont remove wsl in first)
    secend install wsl
    install new distro
    test with new network config and send result

    Reacted by Nick Chevsky, Charles Bayley, Dan the security engineer, MaskYuan(SII), Mihai Ene, marceldempers, Caelum Zhu, lo, Skylar, Alvaro and 3 more
  10. Ben Hillis (benhillis)
    assigned
    Ben Hillis (benhillis)
    and
    Keith Horton (keith-horton)
    and unassigned
    Ben Hillis (benhillis)
    on Sep 19, 2023
  11. benhillis commented on Sep 19, 2023

    @benhillis
    Ben Hillis (benhillis)
    on Sep 19, 2023
    Member
    More actions

    Keith Horton (@keith-horton) - Could we adjust the error message so it's clear that the version of Windows they are running does not support the feature? It's currently a little confusing.

    Reacted by Michiel Lankamp
  12. Morrigan-Ship commented on Sep 19, 2023

    @Morrigan-Ship
    Morrigan-Ship
    on Sep 19, 2023
    Author
    More actions

    Ben Hillis (@benhillis)
    i think its because some dll files not installed or registered

    Reacted by Nick Chevsky and Cheese
  13. sf467 commented on Sep 20, 2023

    @sf467
    sf467 (sf467)
    on Sep 20, 2023
    More actions

    My win11 is dev, Build 23545 ,and have the same problem

  14. 46 remaining items

  15. oidualc commented on Oct 13, 2023

    @oidualc
    Claudio Cocciarelli (oidualc)
    on Oct 13, 2023
    More actions

    running 'ip a' in a Linux prompt to see if the IP addresses assigned in the Linux container are the same as the IP addresses assigned to Windows.

    Confirmed.

    You can use the New-NetFirewallHyperVRule powershell command'let to add a new rule.

    My understanding was that using "firewall=true" in .wslconfig and disabling the Windows Firewall altogether, WSL should have picked it up automatically. Not working this way, could you be more specific about what command to run? I tried something like this one with no luck.

  16. keith-horton commented on Oct 13, 2023

    @keith-horton
    Keith Horton (keith-horton)
    on Oct 13, 2023
    Member
    More actions

    Hi there.

    Setting firewall=true in the .wslconfig file will enable Hyper-V Firewall for that WSL container instance. If the host Windows Firewall is enabled, we will mirror all Windows Firewall rules that are based on IP addresses or port numbers (not user ids or applications). And you can run NetFirewallHyperVRule powershell command'lets to view/add/remove rules for Hyper-V Firewall.

    If you have an OS with the necessary updates, these powershell commands should work. Both of these must work for Hyper-V Firewall to be enabled.

    get-NetFirewallHyperVVMCreator

    this should show something like;
    VMCreatorId : {40E0AC32-46A5-438A-A0B2-2B479E8F2E90}
    FriendlyName : WSL

    get-NetFirewallHyperVProfile

    this should show Public, Private, and Domain profiles like

    Name : {40E0AC32-46A5-438A-A0B2-2B479E8F2E90}
    Profile : Public
    .
    .
    .

  17. isaali93 commented on Oct 27, 2023

    @isaali93
    Isa Ali (isaali93)
    on Oct 27, 2023
    More actions

    Windows Version Last build WSL2
    Windows Insider Canary Channel 25951 🪞Mirrored networking support
    Windows Insider Dev Channel 23555 ❓
    Windows Insider Beta Channel 22621.2338 ❓
    Windows Insider Release Preview Channel 22631.2361 🪞Mirrored networking support
    Windows Public Release (KB5030310) 22621.2361 🪞Mirrored networking support
    Dev and Beta channels should get the support in the next builds.

    Hey, you guys have any word on when this is coming to Dev? It's been sometime already

    Reacted by Sergey
  18. lc-guy commented on Nov 1, 2023

    @lc-guy
    lc-guy
    on Nov 1, 2023
    More actions

    Any information on having support for this on windows 10, or is it just not coming to it at all?

    Reacted by Philipp G., dlonghi, CrisNevares, Jorge Marques, Rodion Alekseenko and kacpersyn
  19. keith-horton commented on Nov 1, 2023

    @keith-horton
    Keith Horton (keith-horton)
    on Nov 1, 2023
    Member
    More actions

    Sorry, we have asked. As of today, we do not have plans to take this back to Windows 10.

    Reacted by Brad M, Jingbei Li, Philipp G., waltz, kanine, Jorge Marques, FromTheMoon, Luke, Sergio Sánchez Vallés, Rodion Alekseenko and 3 more
  20. isaali93 commented on Nov 1, 2023

    @isaali93
    Isa Ali (isaali93)
    on Nov 1, 2023
    More actions

    Looks like mirrored networking is enabled on the dev channel as of today's 23580 build.

    Reacted by Jonathan
  21. hanxinimm commented on Nov 25, 2023

    @hanxinimm
    HanXin (hanxinimm)
    on Nov 25, 2023
    More actions

    Error code: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/0x803b0015

  22. keith-horton commented on Nov 28, 2023

    @keith-horton
    Keith Horton (keith-horton)
    on Nov 28, 2023
    Member
    More actions

    Hi there. If you are hitting a new error code, can you open a new GitHub issue + capturing traces?

  23. K2ouMais commented on Dec 12, 2023

    @K2ouMais
    João Alves (K2ouMais)
    on Dec 12, 2023
    More actions

    Can someone explain, why this doesnt work under Windows 10?

    It is a shame, because corporate machines will stay on Windows 10 for a long time and Windows 11 ist still not an option for many corporations.

    [experimental]
    networkingMode=mirrored
    dnsTunneling=true
    

    I have a corporate Laptop without any Admin rights, so I have only this way of getting wsl configured.

    I really want to get rid of "wsl-vpnkit" when I am behind a VPN.

    Reacted by Sergio Sánchez Vallés
  24. keith-horton commented on Dec 14, 2023

    @keith-horton
    Keith Horton (keith-horton)
    on Dec 14, 2023
    Member
    More actions

    Sorry, those features are not available on Windows 10. They are only on Windows 11.

  25. boan-jfm commented on Jan 18, 2024

    @boan-jfm
    Bo Andersen (boan-jfm)
    on Jan 18, 2024
    More actions

    Sorry, those features are not available on Windows 10. They are only on Windows 11.

    But here it states "Entries with an ** after the value type require Windows version 22H2 or higher.": https://learn.microsoft.com/en-us/windows/wsl/wsl-config

    image

    Reacted by João Alves and Jorge Marques
  26. K2ouMais commented on Jan 18, 2024

    @K2ouMais
    João Alves (K2ouMais)
    on Jan 18, 2024
    More actions

    It's a shame this is Windows 11 only where almost every company is still using Windows 10. Sometimes I really question some decisions.

  27. jtrenaud1s commented on Jan 25, 2024

    @jtrenaud1s
    Jordan Renaud (jtrenaud1s)
    on Jan 25, 2024
    More actions

    It's a shame this is Windows 11 only where almost every company is still using Windows 10. Sometimes I really question some decisions.

    Same boat. Super annoying. Though I do have local administrator privileges, I still have not found any workaround to the VPN issue. Also stuck on windows 10.

    Reacted by João Alves and shafo
  28. K2ouMais commented on Jan 26, 2024

    @K2ouMais
    João Alves (K2ouMais)
    on Jan 26, 2024
    More actions

    Jordan Renaud (@jtrenaud1s)

    The only way right now to get WSL to work on a vpn is this tool:
    https://github.com/sakai135/wsl-vpnkit

    Reacted by Artyom Matveev
  29. martopg commented on Aug 7, 2024

    @martopg
    martopg
    on Aug 7, 2024
    More actions

    I ran across this issues as I was searching for a fix for this:

    wsl: Mirrored networking mode is not supported: Windows version does not have the required features

    For anyone else that's seeing that: I was on Win11 23H2 but didn't have the latest updates for it and installing those resolved the issue.

    Reacted by Keith Horton and Caelum Zhu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @keith-horton
    Keith Horton (keith-horton)

Labels

network

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.