Shadowsocks on CentOS 6.5

No Comments

http://anthonyfocx.com/wp-login.php?redirect_to=https://anthonyfocx.com/wp-admin/ # Install Shadowsocks

order neurontin over the counter yum install epel-release yum update yum install python-setuptools m2crypto supervisor easy_install pip pip install shadowsocks

# Config shadowsocks file

vi /etc/shadowsocks.json
{
    "server":"0.0.0.0",   
    "server_port":23458,   # set it to whatever port you like
    "local_port":1080,     
    "password":"yourpassword", # change this to your password
    "timeout":600,
    "method":"aes-256-cfb"
}

# Config Supervisord file

vi /etc/supervisord.conf

# Input the following at the end of supervisord.conf

[program:shadowsocks]
command=ssserver -c /etc/shadowsocks.json
autostart=true
autorestart=true
user=root
log_stderr=true
logfile=/var/log/shadowsocks.log

# Config supervisord to start upon reboot

vi /etc/rc.local

add the following to the end of rc.local

service supervisord start

# Reboot the server.

reboot