-
Notifications
You must be signed in to change notification settings - Fork 823
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
WSL2 networkingMode=mirrored connection timed out when going over two VPNs #12309
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 script will output the path of the log file once done. If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here Once completed please upload the output files to this Github issue. Click here for more info on logging View similar issuesPlease 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! Open similar issues:
Closed similar issues:
|
I'm unable to collect network logs as it is secured corporate notebook.
WSL2:
WSL2 tcpdump
|
/logs |
WslLogs-2024-11-23_12-36-05.zip collect-networking-logs.ps1 is bugged. After i press any key, it produces some error and when creating zip file, it deletes all files without creating any final .zip file.
External window with running tcpdump is not closed automatically, however it doesn't show anything. |
Diagnostic information
|
After I closed external tcpdump window manually, not by 'press any key' from window where script was exectuted, .zip file was created. |
Diagnostic information
|
try |
so it is like an update or smth that happened ? cause it used to work fine before ? |
@lifetraveler not for me. I want to use usb wifi adapter in WSL2, beside integrated notebook wifi but I'm not willing to compile own kernel to enable loading modules. @ymuuuu NAT is default networking mode in WSL2, so if you use |
yes i understand that and I have set it to mirrored but not functioning as it should, check my issue, I think it is the same problem |
Windows Version
Microsoft Windows [Version 10.0.22631.4317]
WSL Version
2.3.26.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.167.4-1
Distro Version
Debian 11
Other Software
No response
Repro Steps
We use AnyConnect to connect to company network. To access target servers, we need to further connect to other VPN with Checkpoint.
ssh to servers located on first VPN works with mirrored mode from WSL2 distro.
ssh to servers located behind second VPN doesn't work from WSL2 distro.
However ssh to servers behind second VPN works from windows cmd.
Routes from Windows are propagated into WSL2 distro, also destination ip is shown in route table through same gateway ip.
Doesn't matter in which order I connect to second VPN/wsl --shutdown.
Expected Behavior
Working ssh connection from WSL2 distro with mirrored network.
Actual Behavior
Timed out connection from WSL2 distro with mirrored network.
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: