Open utterances-bot opened 3 years ago
简单,清晰,明了. 博主写得真好, 谢谢了
Thanks a lot!
如果wsl连接不到主机,直接放开 vEthernet (WSL)
这张网卡的防火墙,执行:
New-NetFirewallRule -DisplayName "WSL" -Direction Inbound -InterfaceAlias "vEthernet (WSL)" -Action Allow
It works for me, and now I know what "allow lan" means, so thx.
Thanks for your help!
奇怪,我也是zsh,用https_proxy代理没问题,用socks5 代理就报错 Unable to communicate securely with peer: requested domain name does not match the server's certificate 单独执行export all_proxy="https://ip.1:7890" 也没有问题
破案了,单独执行 export all_proxy="socks5://ip:7890" 也不行,看来是socks5代理不能用
有没有试过配置 socat 以转发 Windows 端的代理给wsl2 https://github.com/escape0707/markdown-practice/blob/master/notes/install-arch-wsl2.md
请问下ip和端口怎么找呀
It works, THANKSBRO!
配置socks5的all_proxy不行,但是分别配置http_proxy和http_proxy的http代理就可以
可以试试$(hostname).local,解析出来就是windows的ip
感谢😄👍
terminal里面wget和curl可以正常代理了,但是WSL2上面安装的chrome浏览器和pycharm貌似没用~~大家有解决办法嘛?
配置 WSL2 使用 Windows 代理上网 - Hide
solidSpoon 的博客
https://solidspoon.xyz/2021/02/17/%E9%85%8D%E7%BD%AEWSL2%E4%BD%BF%E7%94%A8Windows%E4%BB%A3%E7%90%86%E4%B8%8A%E7%BD%91/