linux - 路由器如何设置可以实现产生的wifi经过socks5代理?
PHP中文网
PHP中文网 2017-04-17 16:35:21
0
1
770

socks服务端我搭建好了,路由器也装好了ss-local,接下来还需要设置什么啊?

我想实现的是路由器产生的wifi,只要另一台电脑连接上就可以实现代理,这样linux装软件速度快

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(1)
Peter_Zhu

It is recommended to use privoxy to convert socks to http. After all, some projects do not support socks proxy, and privoxy configuration is very simple

# step1
$ sudo apt-get install privoxy

# step2,末尾添加一行文件即可,如果题主用shawdosocks的话默认就是1080
$ vim etc/privoxy/config
forward-socks5 / 127.0.0.1:1080 .

Just set it up temporarily when you need to use it later

$ export http_proxy='http://localhost:8118'

If you use GitHubgit config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:port,即git config --global http.proxy http://localhost:8118, you can read the documentation yourself for wget and other commands~

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!