6
使用 Proxychains 为 OS X 终端配置 Shadowsocks 代理
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.
使用 Proxychains 为 OS X 终端配置 Shadowsocks 代理
Homebrew 安装 Proxychains
$ brew install proxychains
配置 Proxychains
- 进入
/usr/local/Cellar/proxychains/HEAD/etc/
目录; - 编辑
proxychains.conf
文件,最后一行加入socks5 127.0.0.1 1080
; - 保存文件。
所有需要使用代理的命令前加 proxychains4
,即可使用 Shadowsocks 访问网络,如:
curl twitter
proxychains4 curl twitter
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK