Configure shadowsocks and javastushadowsocks In ubuntu.

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.