wsl2使用clash for windows做代理 打开windows控制面板->系统安全->Windows Defender防火墙下的允许应用通过Windows防火墙->更改设置->选中所有clash相关的公用+专用 打开clash for windows->勾选Allow LAN 在wsl2的虚拟机中,在.zshrc底部添加以下语句, 让开启关闭代理更方便 hostip=$(cat /etc/resolv.conf |grep -...
这条命令单纯开放了主系统windows对wsl2的局域网访问权限, 无毒无害 如果成功你应该可以在设置 -> 防火墙 -> 高级设置 -> 入站规则中看到 第一步完成 第二步: 使用魔法 没有魔法肯定上不了不用想了 一般也得花点米 这里不敢细讲 我自用的是SDKDNS 第三步: 使用Clash for window软件代理 我的原本的代理...
WSL2 中访问宿主机 Windows 的代理 - ZingLix Blog WSL2来了!但是能正常使用并不简单 - 知乎 (zhihu.com) 终端使用代理加速的正确方式(Clash) | Ln's Blog (weilining.github.io) 可能是一种问题,但not suit for me:wsl2 能ping通主机但是无法访问主机代理解决方案_Wuuconix的博客-CSDN博客_wsl ping的通...
Windows本地使用代理(如clash)后,WSL2也可以走clash代理。(需要开启tun模式) 在前面装的内网穿透工具(Tailscale),也可以直接打洞到wsl2。操作步骤:使用镜像模式需要将win11升级到23H2,没有收到推送的可以加入 Windows Insider即可收到推送 更新WSL到2.0版本以上,使用wsl —update,如果版本还是低,则用 wsl —update...
我通过wsl2使用Ubuntu22.04和ROS2,同时我在Windows下使用了VPN(clash for Windows).在wsl2的默认网络下,我发现我的vscode连不上GitHub copilot,并且终端报错 wsl: 检测到 localhost 代理配置,但未镜像到 WSL。NAT 模式下的 WSL 不支持 localhost 代理 然后我根据微软的官方教材设置了镜像网络模式,创建了.wslconfig...
i try to open my windows firewall, and openALLOW LANin my clash for windows it like this: and this: and this: it did not work finallly. i try to change the proxy ip to my windows's ip in LAN like this: $ export all_proxy="http://192.168.43.127:7890"; export ALL_PROXY="${...
如OpenJDK 8和Miniconda 3的安装和配置也相对简单,可根据需要进行:OpenJDK 8的安装和JAVA_HOME配置Miniconda 3的安装、全局环境变量设置和conda源配置最后,如果需要科学上网,可以通过Clash for Windows代理:sudo nano ~/.bashrc...source ~/.bashrc测试网络连接以确保设置有效。
Docker desktop was uninstalled from the windows system. Repro Steps Information My laptop's IP is 192.168.0.102 in WLAN. Is was worked for me before. But after I reset my system, I can not make it work again. Start a clash app with port 7890 Go into the wsl environment Execute command...
WSL的最佳实践将WSL安装到非系统盘未安装WSL:手动下载发行版并指定安装位置已经安装WSL:迁移默认安装的 WSLWSL 中可能遇到的问题WSL访问 Windows 本机的 Clash 代理WSL和本机 Docker 互通Windows 修改 Docker 镜像存储位置其他 关于WSL配置好以后的,环境安装相关内容,可以参考我的另一篇博客:Linux 环境配置的最佳实践WS...
在wsl2跑的服务,在windows里面通过localhost:端口号即可访问。 Windows本地使用代理(如clash)后,WSL2也可以走clash代理。(需要开启tun模式) 在前面装的内网穿透工具(Tailscale),也可以直接打洞到wsl2。 操作步骤: 使用镜像模式需要将win11升级到23H2,没有收到推送的可以加入 Windows Insider即可收到推送 ...