ldy-miss

1、安装Python

2、安装shadowsocks客户端

sudo pip install shadowsocks

3、配置shadowsocks客户端配置

vim /etc/shadowsocks/config.json

{
    "server":"x,x,x,x",
    "server_port":24000,
    "local_address":"127.0.0.1",
    "local_port":1080,
    "password":"xxxxxx",
    "timeout":300,
    "method":"AES-256-CFB"
}

4、启动shadowsocks客户端服务

sudo sslocal -c config.json -d start

5、安装privoxy

apt-get install privoxy

6、配置privoxy

找到并修改为以下两项

vi /etc/privoxy/config


forward-socks5 / 127.0.0.1:1080 .

listen-address  127.0.0.1:8118
listen-address  [::1]:8118

7、启动privoxy

sudo service privoxy start

8、配置Ubuntu网络

HTTP、HTTPS、FTP、Socks都改为:

127.0.0.1  8118

分类:

技术点:

相关文章:

  • 2021-08-27
  • 2022-12-23
  • 2022-12-23
  • 2021-11-02
  • 2022-02-24
  • 2021-11-03
  • 2022-12-23
  • 2022-02-12
猜你喜欢
  • 2021-05-18
  • 2022-12-23
  • 2021-05-27
  • 2021-10-06
  • 2022-02-07
  • 2022-01-13
相关资源
相似解决方案