Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSL 2.0: Invalid networking mode 'NAT' in C:\Users\mail\.wslconfig #10616

Closed
1 of 2 tasks
speller opened this issue Oct 10, 2023 · 1 comment
Closed
1 of 2 tasks

WSL 2.0: Invalid networking mode 'NAT' in C:\Users\mail\.wslconfig #10616

speller opened this issue Oct 10, 2023 · 1 comment
Assignees

Comments

@speller
Copy link

speller commented Oct 10, 2023

Windows Version

10.0.22621.2361

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

No response

Other Software

WSL version: 2.0.0.0
Kernel version: 5.15.123.1-1
WSLg version: 1.0.57
MSRDC version: 1.2.4485
Direct3D version: 1.608.2-61064218
DXCore version: 10.0.25880.1000-230602-1350.main
Windows version: 10.0.22621.2361

Repro Steps

Set the networking mode to NAT according to the document: https://learn.microsoft.com/en-us/windows/wsl/wsl-config

Expected Behavior

It works well

Actual Behavior

I see a message box on Windows status that WSL has encountered an error during the startup.

I see the following Warning the Event Viewer:

Invalid networking mode 'NAT' in C:\Users\mail.wslconfig

image

Diagnostic Logs

No response

@OneBlue OneBlue self-assigned this Oct 10, 2023
@benhillis
Copy link
Member

Fixed in 2.0.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants