焕昭君 (@huan) 在 如何让WSL2走Clash的HTTP代理?(请教) 中发帖
现在的情况是我以管理员使用 Clash yanpasu 的 TUN 模式能让wsl的 Ubuntu ping 通 Google 。
但是问题是 wsl 里明明有一个设置是自动代理–能检测系统HTTP代理,每次我更改 clash 的代理模式 wsl 也能检测到,但就是没办法使得 wsl 在 clash 开系统代理的时候能 ping 通 Google 。
[image]
[image]
我在Windows的用户名文件里的 .wslconfig 的配置文件如下。我开了镜像的网络模式,自动代理也开了
[wsl2]
memory=1GB
swap=512MB
[experimental]
autoMemoryReclaim=gradual
sparseVhd=false
networkingMode=mirrored
dnsTunneling=true
firewall=true
...