由于某些压力,作者被迫删除了项目上的所有代码,在此特别感谢原作者,同时也感谢网友的无私共享shadowsocks项目备份
地址https://github.com/Long-live-shadowsocks
同时我也把部分备份
https://drive.google.com/folderview?id=0Bx3_o2KN5XGrfkFsdGd1dXVzdkNCZldDbXhKOEx1UHpFSGVLMzdFMk5xN0c5UkczZWx4eW8&usp=sharing
百度网盘
链接: http://pan.baidu.com/s/1hquBIG8 密码: gutr
dropbox网盘
https://www.dropbox.com/sh/apkz171xzwqj3to/AAChoILDIw9HFQEbfjmASE9fa?dl=0
如果您愿意,可以使用我的DROPBOX网盘邀请链接https://db.tt/ENXkGD0b 注册
Shadowsocks 使用说明
一个可穿透防火墙的快速代理。
服务端
安装
Debian / Ubuntu:apt-get install python-pip
pip install shadowsocks
CentOS:yum install python-setuptools && easy_install pip
pip install shadowsocks
使用
ssserver -p 443 -k password -m rc4-md5
如果要后台运行:
sudo ssserver -p 443 -k password -m rc4-md5 --user nobody -d start
如果要停止:
sudo ssserver -d stop
如果要检查日志:
sudo less /var/log/shadowsocks.log
用 -h 查看所有参数。你也可以使用 配置文件 进行配置。
You can use a configuration file instead of command line arguments.
Create a config file /etc/shadowsocks.json. Example:
{
"server":"my_server_ip",
"server_port":8388,
"local_address": "127.0.0.1",
"local_port":1080,
"password":"mypassword",
"timeout":300,
"method":"aes-256-cfb",
"fast_open": false
}
Explanation of the fields:
Name Explanation
server the address your server listens
server_port server port
local_address the address your local listens
local_port local port
password password used for encryption
timeout in seconds
method default: "aes-256-cfb", see Encryption
fast_open use TCP_FASTOPEN, true / false
workers number of workers, available on Unix/Linux
To run in the foreground:
ssserver -c /etc/shadowsocks.json
To run in the background:
ssserver -c /etc/shadowsocks.json -d start
ssserver -c /etc/shadowsocks.json -d stop
服务器搭建
建议选择 Ubuntu 14.04 LTS 作为服务器以便使用 TCP Fast Open。除非有明确理由,不建议用对新手不友好的 CentOS。
为了更好的性能,VPS 尽量选择 XEN 或 KVM,不要使用 OpenVZ。推荐使用以下 VPS:
- Digital Ocean 自带的内核无需自己编译模块即可使用 hybla 算法
- Linode 功能强大,机房较多
0 评论