software required:

ss client: pip install shadowsocks

privoxy for local forwarding:  http://www.silvester.org.uk/privoxy/Debian/3.0.26%20%28stable%29%20jessie/privoxy_3.0.26-1_amd64.deb

dpkg -x privoxy_3.0.26-1_amd64.deb ~/.local/bin

ss-config.ini

“`

{
“server”:”server_ip”,
“local_address”: “127.0.0.1”,
“local_port”:1080,
“server_port”:server_port,
“password”:”password”,
“timeout”:300,
“method”:”aes-256-cfb”
}
““

sslocal -c ss-config.ini -v

 

 

privoxy-config.ini

“`

forward-socks5 / 127.0.0.1:1080 .
listen-address localhost:8118
forward 192.168.*.*/ .
forward 10.*.*.*/ .
forward 127.*.*.*/ .

“`

privoxy privoxy-config.ini

 

set proxy:

<pre code>

export http_proxy=http://127.0.0.1:8118;export https_proxy=http://127.0.0.1:8118;

</pre>

if you set -v when starting sslocal, the log will display facebook connection