wget 使用sock5代理

对 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://……

打赏

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

wget 使用sock5代理_第1张图片
支付宝.jpg
wget 使用sock5代理_第2张图片
微信.jpg

你可能感兴趣的:(wget 使用sock5代理)