Accessing a Shadowsocks with V2Ray Plugin Server from a Linux Client

Download shadowsocks-rust for Linux 64-bit from GitHub. Extract the contents of the archive.

Download the v2ray-plugin for Linux 64-bit from GitHub. Copy the binary into the same folder as the extracted shadowsocks binaries.

Create a config.json file like this:

1
2
3
4
5
6
7
8
9
10
11
{
"server":"your.host.name",
"server_port":443,
"local_address": "127.0.0.1",
"local_port": 1080,
"password":"yourshadowsocksserverpassword",
"timeout":300,
"method":"chacha20-ietf-poly1305",
"plugin":"./v2ray-plugin_linux_amd64",
"plugin_opts":"path=/yourpath;host=your.host.name;tls"
}

Start shadowsocks running:

1
./sslocal -c config.json

Configure Firefox network settings to use the SOCKS5 proxy server that is now listening on 127.0.0.1 port 1080. Also set Firefox to proxy DNS queries over the SOCKS5 server.