美文网首页
wget 使用sock5代理

wget 使用sock5代理

作者: 谢昆明 | 来源:发表于2017-03-07 15:09 被阅读1257次

对 debian 系 linux ,可以通过tsocks 实现。

apt-get install tsocks

然后修改 /etc/tsocks.conf :

server = 127.0.0.1
server_type = 5
server_port = 1080

设置代理服务器地址,类型,端口。

wget 套上 tsocks 运行,就可以访问代理了(如果之前设置了 http 代理,要先清除掉)。

tsocks wget http://……

打赏

如果这篇文章解决了您的问题,让我买根烟抽抽。

支付宝.jpg 微信.jpg

相关文章

网友评论

      本文标题:wget 使用sock5代理

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