Configure shadowsocks and javastushadowsocks In ubuntu.
Although the official document is clearly written, I have been exploring it for a while (this article is very clear)
Https://wiki.archlinux.org/index.php/Shadowsocks_ (% E7 % AE % 80% E4 % BD % 93% E4 % B8 % AD % E6 % 96% 87)
Shadowsocks is a socks5 proxy, which is written in python.
Record your own setup process (common users do not need to configure the server, most of the tutorials on the Internet are about configuring the server)
1. Install shadowsocks
apt-get install python-pippip install shadowsocks
2. Write the configuration file
1> Create a configuration file under/etc
sudo vim /etc/shadowsocks.json
2> compile the configuration file (the parameters are clearly indicated in the wiki)
{ "server":"server_address", "server_port":server_port, "local_port":1080, "local_address":"127.0.0.1", "password":"your password", "timeout":600, "method":"aes-256-cfb"}
Https://github.com/shadowsocks/shadowsocks/wiki/Configuration-via-Config-File
3. Run shadowsocks. json. Generally, you do not need to set up a server.
sudo sslocal -c /etc/shadowsocks.json -d startsudo sslocal -c /etc/shadowsocks.json -d stop
4. chrome needs to download the Proxy SwitchySharp plug-in when using a browser to access the Internet.
Http://www.switchysharp.com/install.html
Manually select socks5 proxy in new scenario Mode
Enter 127.0.0.1 port: 1080
After saving and enabling it, you can use the socks5 Proxy FQ.