6

使用 Proxychains 为 OS X 终端配置 Shadowsocks 代理

 2 years ago
source link: https://blog.huangyafei.com/post/2015-08-18/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

使用 Proxychains 为 OS X 终端配置 Shadowsocks 代理

Homebrew 安装 Proxychains

$ brew install proxychains

配置 Proxychains

  1. 进入 /usr/local/Cellar/proxychains/HEAD/etc/ 目录;
  2. 编辑 proxychains.conf 文件,最后一行加入 socks5 127.0.0.1 1080
  3. 保存文件。

所有需要使用代理的命令前加 proxychains4,即可使用 Shadowsocks 访问网络,如:

curl twitter

proxychains4 curl twitter


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK