Ubuntu 终端使用ss代理

用polipo软件,这个软件可以吧socket5转换成http代理

$ sudo apt-get install polipo
$ sudo vim /etc/polipo/config

在文件中加入

socksParentProxy = "localhost:1080"
socksProxyType = socks5
logLevel = 4

启动代理服务

$ sudo service polipo start

验证

$ curl ip.gs
$ http_proxy = http://localhost:8123 curl ip.gs

猜你喜欢

转载自blog.csdn.net/hl449006540/article/details/79697066