Mac 下安装及配置 ProxyChains-NG 实现终端下代理
2015-09-25 16:53
441 查看
项目主页:https://github.com/rofl0r/proxychains-ng
官方说明:
proxychains ng (new generation) - a preloader which hooks calls to sockets in dynamically linked programs and redirects it through one or more socks/http proxies. continuation of the unmaintained proxychains project.
使用 Homebrew 安装
编辑配置文件
在 [ProxyList] 下面(也就是末尾)加入代理类型,代理地址和端口
例如使用 TOR 代理,注释掉原来的代理并添加
如果所在的网络很复杂,可能需要在配置文件中启用
然后在 [ProxyList] 下添加多个代理
默认是:
配合 wget 和 curl 来下载,非常好用
官方说明:
proxychains ng (new generation) - a preloader which hooks calls to sockets in dynamically linked programs and redirects it through one or more socks/http proxies. continuation of the unmaintained proxychains project.
安装
使用 Homebrew 安装brew install proxychains-ng
配置
编辑配置文件 mvim /usr/local/etc/proxychains.conf
在 [ProxyList] 下面(也就是末尾)加入代理类型,代理地址和端口
例如使用 TOR 代理,注释掉原来的代理并添加
socks5 127.0.0.1 9050
如果所在的网络很复杂,可能需要在配置文件中启用
dynamic_chain- 按照列表中出现的代理服务器的先后顺序组成一条链,如果有代理服务器失效,则自动将其排除,但至少要有一个是有效的
然后在 [ProxyList] 下添加多个代理
默认是:
strict_chain- 按照后面列表中出现的代理服务器的先后顺序组成一条链,要求所有的代理服务器都是有效的
使用
proxychains4 curl twitter.com
配合 wget 和 curl 来下载,非常好用
相关文章推荐
- [[NSBundle mainBundle]pathForResource:@"XXX" ofType:@"db"]为nil的解决办法
- HDU 1023.Train Problem II【大卡特兰数】【9月25】
- typeof、offsetof、container_of的解释
- Handler sendMessage 与 obtainMessage (sendToTarget)比较
- Linux0.11内核--内存组织和进程结构 http://blog.csdn.net/x_white/article/details/8459611
- 解决:对COM 组件的调用返回了错误 HRESULT E_FAIL
- Root Container #Facebook Relay文档翻译#
- Saiku汉化工作记录
- Rails 4-2-stable 参考手册 (Beta)
- [LeetCode]Container With Most Water
- Package Control:There are no packages available for installation
- Terminal initialization failed; falling back to unsupported
- binbinyang---使用Genymotion调试出现错误INSTALL_FAILED_CPU_ABI_INCOMPATI
- Climbing stairs
- 发送email 打开email
- Training
- 用fail2ban解决暴力破解,你设定成登陆失败3次封锁该IP小时,按RSA的加密等级他得算上好久
- maven install Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-wa
- mysql failed to open file
- Async and Await 异步和等待