mirrored network auto proxy port connection failed
Windows Version
10.0.26120.3671
WSL Version
WSL 版本: 2.5.6.0 内核版本: 6.6.84.1-1 WSLg 版本: 1.0.66 MSRDC 版本: 1.2.6074 Direct3D 版本: 1.611.1-81528511 DXCore 版本: 10.0.26100.1-240331-1435.ge-release Windows: 10.0.26120.3671
Are you using WSL 1 or WSL 2?
- [x] WSL 2
- [ ] WSL 1
Kernel Version
6.6.84.1-microsoft-standard-WSL2
Distro Version
Ubuntu 24.04
Other Software
No response
Repro Steps
- set networkingMode to mirrored in WSL Setings GUI
- other settings keep in default
- run clash verge rev (https://github.com/clash-verge-rev/clash-verge-rev) in windows
- proxy in windows 127.0.0.1:7897 (setted by clash verge rev)
- run wget in wsl, Connecting to 127.0.0.1:7897... failed: Connection timed out.
Expected Behavior
Connecting to 127.0.0.1:7897… connected. Proxy request sent, awaiting response… 200 OK (this do happened on my tablet machine)
Actual Behavior
Connecting to 127.0.0.1:7897... failed: Connection timed out.
Diagnostic Logs
https://1drv.ms/u/c/a3d9fc1d8ad8442e/ETdp4j3tRUdKoG2gKCG0ZpABsT673C9OYhKgiVu4FXmNSQ?e=XX5irw
Logs are required for review from WSL team
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
How 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 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 If you choose to email these logs instead of attaching to the bug, please send them to [email protected] with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.
/question
Diagnostic information
Found '/question', adding tag 'question'
Added: When I manually set the proxy server address in Windows (not host Windows IP, but another Windows address using Clash Verge Rev and enable the LAN connection), the WSL2 proxy works well.