WSL子系统配置使用Win代理

在~/.bashrc文件中追加:

export http_proxy="socks5://127.0.0.1:1080"
export https_proxy="socks5://127.0.0.1:1080"

完成以后重开终端或使用命令source ~/.bashrc

发布了2 篇原创文章 · 获赞 4 · 访问量 3383

猜你喜欢

转载自blog.csdn.net/qq_35503971/article/details/104431895