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

Unable to access VPN from WSL2 when networking mode set to mirrored #11072

Open
1 of 2 tasks
AlexandreDenis opened this issue Jan 24, 2024 · 5 comments
Open
1 of 2 tasks
Labels

Comments

@AlexandreDenis
Copy link

Windows Version

Microsoft Windows [version 10.0.22631.3007]

WSL Version

2.0.9.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.133.1-1

Distro Version

Ubuntu-20.04

Other Software

No response

Repro Steps

  1. Connect to VPN on Windows
  2. Set networking mode to mirrored in .wslconfig file on Windows
  3. Relaunch WSL
  4. From WSL, try to ping any private IP address of the VPN. It does not work anymore while it was working with default networking mode

Expected Behavior

I would have expected to be able to access to VPN connection from WSL

Actual Behavior

Ping command to any private IP address of the VPN fails

Diagnostic Logs

No response

Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@Tofu-AKI
Copy link

though don't know why, trying to manually install it really worked. the conclusion I came to after trying for several days.

@tomadimitrie
Copy link

tomadimitrie commented Mar 13, 2024

Same issue here. Any workaround yet?

@Tofu-AKI sorry, but I don't understand what you mean. How did you solve it?

Edit: So if anyone is using OpenVPN, apparently it's known issue in #10879. Only the official OpenVPN clients (both versions 2 and 3) are affected. Other clients such as Viscosity work great

@rayae
Copy link

rayae commented Mar 23, 2024

Thanks to @tomadimitrie, I tried Viscosity and it worked well.

@yakuninmax
Copy link

yakuninmax commented Apr 4, 2024

I'm using the latest version of WSL, mirroring mode. OpenVPN Connect 3 works with ipv6, but does not work with ipv4, Viscosity works with ipv4, but does not work with ipv6 :)

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

No branches or pull requests

6 participants