CentOS6.6安装ShadowSocks服务端
时间:2015-05-11 00:53 来源:linux.it.net.cn 作者:IT
[root@localhost ~]# cat /etc/issue
CentOS release 6.6 (Final)
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.32-042stab106.6 #1 SMP Mon Apr 20 14:48:47 MSK 2015 x86_64 x86_64 x86_64 GNU/Linux
# yum install python-setuptools && easy_install pip
# pip install shadowsocks
[root@localhost /]# touch /etc/shadowsocks.json
[root@localhost /]# vi /etc/shadowsocks.json
{
"server":"138.128.208.158",
"server_port":443,
"local_address": "127.0.0.1",
"local_port":1080,
"password":"MyPass",
"timeout":600,
"method":"rc4-md5"
}
[root@localhost /]# ssserver -c /etc/shadowsocks.json -d start
[root@localhost /]# ssserver -c /etc/shadowsocks.json -d stop
(责任编辑:IT)
(责任编辑:IT) |