Install and set up Shadowsocks

Original link: https://wsdjeg.spacevim.org/setup-shadowsocks/

First you need to download shadowsocks-rust . It can be downloaded directly using curl:

 curl -fLo shadowsocks.tar.xz https://github.com/shadowsocks/shadowsocks-rust/releases/download/v1.15.0-alpha.4/shadowsocks-v1.15.0-alpha.4.x86_64-unknown-linux-gnu.tar.xz

Unzip:

 tar -xf shadowsocks.tar.xz

After decompression, you can see an ssserver file in the current directory, add executable permissions:

 sudo chmod +x ssserver

New configuration file config.json

 {     "server" : "my_server_ip" ,     "server_port" : 8388 ,     "password" : "mypassword" ,     "method" : "aes-256-gcm" ,     "local_address" : "127.0.0.1" ,     "local_port" : 1080 } 

Execute the following command:

 nohup ./ssserver -c config.json &

This article is reprinted from: https://wsdjeg.spacevim.org/setup-shadowsocks/
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment