Install Shadowsocks
yum install python-setuptools && easy_install pip
yum install libevent yum install python-devel pip install gevent
yum install openssl-devel yum install swig pip install M2Crypto
pip install shadowsocks
Create Profile
vi /etc/shadowsocks.json
{ "server":"my_server_ip", "server_port":9000, "local_address": "127.0.0.1", "local_port":1080, "password":"mypassword", "timeout":300, "method":"rc4-md5" }
server The IP address of vps is generally filled here server_port Generally, it is customized. You can use it whichever you want. It is recommended to use it between 1000-9999 password Enter the password here and change it to your own password method Recommended encryption method rc4-md5 , because rc4-md5 than aes-256-cfb It is several times faster. If it is used on a router, it will improve the performance significantly
ssserver -c /etc/shadowsocks.json -d start
ssserver -c /etc/shadowsocks.json -d stop
vi /etc/rc.local
ssserver -c /etc/shadowsocks.json -d start
-
How to build SSserver for newly purchased VPS (I) -
Installing SSserver and Configuring (II) -
Accelerated optimization configuration of SSserver (3) -
Multi user configuration of SSserver (4)