kali-科学—上网

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
root@kali:# sudo rm /var/lib/dpkg/lock-frontend
root@kali:# sudo apt-get install shadowsocks -y
root@kali:/etc# sudo apt-get install privoxy
root@kali:~# vim /etc/privoxy/config


配置Privoxy, 打开 /etc/privoxy/config,
注释掉
listen-address localhost:8118
#listen-address localhost:8118
在最后一行后边加上
forward-socks5 / 127.0.0.1:1080 .
listen-address 127.0.0.1:8118



root@kali:/etc# cd shadowsocks/
root@kali:/etc/shadowsocks# cp local.json US.json

配置ss服务器地址、服务器端口、密码、ss监听端口
root@kali:/etc/shadowsocks# vim US.json

{
"server":"",
"server_port":,
"local_address": "127.0.0.1",
"local_port":9050,
"password":"",
"timeout":300,
"method":"aes-256-cfb",
"fast_open": false,
"workers": 1,
"prefer_ipv6": false
}



开启
root@kali:/etc/shadowsocks# systemctl start privoxy.service
root@kali:/etc/shadowsocks# sslocal -c US.json

设置系统代理

socket与配置"local_port":9050,相同