Use Shaowsocks on Linux platform

发布于 2017-11-11  79 次阅读


中文版在这

As we know, Shaowsocks is a wonderful app to visit the website which can not be visited in China. So, let's START!

First: Install Shaowsocks

How to install Shaowsocks? It's easy in Linux system. If you are using Debian, Ubuntu, CentOS, Arch and anything else which is supported apt or yum. You can install it fastest!

Apt:

sudo apt-get install shaowsocks

Yum:

yum install shaowsocks

Second: Create a profile

Create a now json document:

sudo gedit /etc/shadowsocks.json

Then, paste it in it:

{

    "server":"xx.xx.xx.xx",

    "server_port":xxxx,

    "local_address": "127.0.0.1",

    "local_port":1080,

    "password":"xxxxxxxx",

    "timeout":300,

    "method":"aes-256-cfb",

    "fast_open": true,

    "workers": 1

}
You have already created a profile for Shaowsocks.

Third: Run Shaowsocks

sslocal -c ./shadowsocks.json

Finally: Set the browser

Open the settings in your browser which you want to set. Find the "Proxy Configuration" and enter the info in it.

Host:127.0.0.1
Port:1080

Enjoy 🙂


Hope to be a free geek forever.