search

Home  >  Q&A  >  body text

linux - 路由器如何设置可以实现产生的wifi经过socks5代理?

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

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

PHP中文网PHP中文网2788 days ago804

reply all(1)I'll reply

  • 天蓬老师

    天蓬老师2017-04-17 16:37:21

    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~

    reply
    0
  • Cancelreply