You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WSL cannot use proxy with networkingMode=mirrored #10794
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!
I upgraded from Ubuntu 20.04 to Ubuntu 22.04, and the issue got resolved, although I don't know how it was fixed. The reason I had this idea is that my other computer, which has Ubuntu 22.04 installed, could successfully use the proxy.
I upgraded from Ubuntu 20.04 to Ubuntu 22.04, and the issue got resolved, although I don't know how it was fixed. The reason I had this idea is that my other computer, which has Ubuntu 22.04 installed, could successfully use the proxy.
whether you set the HTTP_PROXY environment variable?
I changed the inbound rules of the Clash for windows in firewall, that does work in Ubuntu 20. Su Autumn (@SuAutumn)
怎么改的?我的都勾选了还是不行。
You can curl http://<host_ip>:7890 -v in wsl terminal, get a 4xx status code means that you can successfully visit clash proxy in wsl. otherwise Just Shutdown firewall, and try again.
ps: Please confirm clash allow LAN setting enabled.
Activity
github-actions commentedon Nov 19, 2023
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!
Closed similar issues:
[-]WSL cannot use proxy[/-][+]WSL cannot use proxy with networkingMode=mirrored[/+]zhaoqiu-china commentedon Nov 20, 2023
try firewall=false?
mingo99 commentedon Nov 20, 2023
zhaoqiu-china commentedon Nov 20, 2023
BTW, experimental feature has moved to wsl2.

mingo99 commentedon Nov 20, 2023
yeah,now my .wslconfig is below, but also come same problem
mingo99 commentedon Nov 21, 2023
Additionally, access the external network is normal, like
pinggithub.com is okPhyX-Meow commentedon Nov 22, 2023
It may not help but, I tried
firewall=falsethen everything works fine. Did you restart wsl bywsl --shutdown?mingo99 commentedon Nov 22, 2023
yeah,even reboot computer
mingo99 commentedon Nov 22, 2023
I upgraded from Ubuntu 20.04 to Ubuntu 22.04, and the issue got resolved, although I don't know how it was fixed. The reason I had this idea is that my other computer, which has Ubuntu 22.04 installed, could successfully use the proxy.
zhaoqiu-china commentedon Nov 23, 2023
Mingo (@mingo99)
whether you set the HTTP_PROXY environment variable?
mingo99 commentedon Nov 23, 2023
No, it will set itself.
KnineF commentedon Feb 6, 2024
我也遇到了这个问题。请问你解决了吗
mingo99 commentedon Feb 6, 2024
升级到 22.04 就没问题了🤣
HawtinZeng commentedon Feb 9, 2024
Me too, but the tip about the local proxy is not mirrored into WSL still appears.And can't
ping google.comSuAutumn commentedon Mar 9, 2024
I changed the inbound rules of the Clash for windows in firewall, that does work in Ubuntu 20.
Minphie commentedon Mar 11, 2024
SuAutumn commentedon Mar 12, 2024
You can
curl http://<host_ip>:7890 -vin wsl terminal, get a 4xx status code means that you can successfully visit clash proxy in wsl. otherwise Just Shutdown firewall, and try again.ps: Please confirm clash allow LAN setting enabled.
amorZhu commentedon Mar 19, 2024
Try deleting the Linux distribution and reinstalling it.
wsl --unregister <DistributionName>wsl --install