单用户的~

GitHub 地址

作者已经删除了该项目,下面这个是其他人fork的
https://github.com/shadowsocksrr/shadowsocksr.git

部署

先git下来

git clone https://github.com/shadowsocksrr/shadowsocksr.git

安装python以及pip
ubuntu:

apt-get install python-gevent python-pip python-m2crypto python-wheel python-setuptools

cd 到目录

cd shadowsocksr

初始化一下

./initcfg.sh

修改配置文件(端口,密码,加密等)

vim user-config.json

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
 "server": "0.0.0.0",
"server_ipv6": "::",
"server_port": 8388, //自定义端口
"local_address": "127.0.0.1",
"local_port": 1080,

"password": "m", //密码
"timeout": 120,
"udp_timeout": 60,
"method": "aes-128-ctr", //加密
"protocol": "auth_aes128_md5", //协议
"protocol_param": "",
"obfs": "tls1.2_ticket_auth_compatible", //混淆,这里建议改成tls1.2_ticket_auth
"obfs_param": "",
"speed_limit_per_con": 0,
"speed_limit_per_user": 0,

"dns_ipv6": false,
"connect_verbose_info": 0,
"redirect": "",
"fast_open": false
}

改完保存,cd到shadowsocks

chmod +x *.sh //给权限

启动服务:

./logrun.sh //后台运行
如果要调试就python server.py,关闭终端就会断开

停止服务:

./stop.sh

查看日志:

./tail.sh