美文网首页
Mac Termianl 实现全局代理

Mac Termianl 实现全局代理

作者: 移动端技术 | 来源:发表于2018-11-23 13:45 被阅读0次

Mac Termianl 实现全局代理

1.我用的是


png.png

我是用的shadowsockets 我的http配置如下:

Screen Shot 2018-11-23 at 1.40.16 PM.png

在Termianl中输入
设置命令行的全局代理

export http_proxy="http://127.0.0.1:1087"
export https_proxy="http://127.0.0.1:1087"

注意一点在Terminal 的生命周期中这个全局代理是有用的,一旦关闭了当前的Terminal或者重新开一个需要重新运行上面的命令。

相关文章

网友评论

      本文标题:Mac Termianl 实现全局代理

      本文链接:https://www.haomeiwen.com/subject/lirjqqtx.html