-
Notifications
You must be signed in to change notification settings - Fork 822
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
openvpn connection stops working after upgraded to 2.0.9 with mirrored networking #10879
Comments
Could you please follow the steps below and attach the diagnostic logs? https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#collect-wsl-logs-for-networking-issues |
Hi @yongzhang , currently OpenVPN does not work with mirrored mode. We are investigating where the root cause of this issue could be, for now I've labeled it as "External". Thanks for filing this! |
I've also encountered the same issue and am looking forward to a solution. |
Hello, OpenVPN is still not working in the latest build. @craigloewen-msft did you manage to investigate the cause? Edit: so just the official OpenVPN clients (both versions 2 and 3) are affected. Other clients such as Viscosity work great |
Any updates on this? |
this is an interesting point. and in fact I can cause Viscosity to not work either if i change in its settings "Adapter type" to "Open TAP adapter (legacy)". for me this results in the same behaviour as using the open vpn client |
OpenVPN 2.4.7 works https://openvpn.net/community-downloads/ (it's from 2019) 2.4.8 breaks it I had this theory from this other ticket about configuring MAC OpenVPN/tap-windows6#97 |
I can also go back and forth between 2.5.10 (not working) and 2.6.0 (working) as long as i restart wsl between with |
stay tuned |
any update on this? |
@carlosrmendes did you find a workaround for this? |
no, I downgraded openvpn to v2.4.7 |
Windows Version
Microsoft Windows [Version 10.0.22631.2715]
WSL Version
2.0.9
Are you using WSL 1 or WSL 2?
Kernel Version
Linux version 5.15.133.1-microsoft-standard-WSL2 (root@1c602f52c2e4)
Distro Version
Ubuntu 22.04
Other Software
OpenVPN Connect 3.4.2
Repro Steps
.wslconfig
with below settings:Additional information:
eth2 has the ip address from my wifi adapter in windows, eth3 is the client ip assigned by openvpn server (172.25.0.0/21).
Seems like nothing wrong with the routes?
PS: I also have cisco anyconnect vpn client which works very well with mirrored networking.
Expected Behavior
OpenVPN connection should work with mirrored networking
Actual Behavior
OpenVPN connection stopped working with mirrored networking
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: