日本樱花【免费】ssr部署 速度暴走

2016年8月30日星期二

日本樱花【免费】ssr部署 速度暴走


教程如图:














测试效果:


镜像:tutum/centos:centos6

自定义服务器密码:在ENV输入ROOT_PASS另一边输入你的SSH密码
就可以了自定义ssh密码了

一下是在ssh中输入的代码(安装ssr服务端)
yum -y install wget screen 	//首先安装screen

yum -y groupinstall "Development Tools" && yum -y install wget && wget https://github.com/jedisct1/libsodium/releases/download/1.0.10/libsodium-1.0.10.tar.gz && tar xf libsodium-1.0.10.tar.gz && cd libsodium-1.0.10 && ./configure && make -j2 && make install && echo /usr/local/lib > /etc/ld.so.conf.d/usr_local_lib.conf && ldconfig //让他支持CHACHA20

yum install -y git && git clone -b manyuser https://github.com/breakwa11/shadowsocks.git && cd shadowsocks/shadowsocks && screen -S ssr //下载源码并进入screen

python server.py //运行ssr

这下面的内容在/root/shadowsocks/config.json中修改。(推荐使用winscp)
{
"server": "0.0.0.0",
"server_ipv6": "::",
"server_port": 1212, //设置的ssr端口
"local_address": "127.0.0.1",
"local_port": 1080,
"password": "password", //ssr链接密码
"timeout": 120,
"udp_timeout": 60,
"method": "chacha20", //加密方式,安装了libsodium
"protocol": "auth_sha1_v2_compatible", //混淆
"protocol_param": "",
"obfs": "tls1.2_ticket_auth_compatible", //混淆
"obfs_param": "",
"dns_ipv6": false,
"connect_verbose_info": 0,
"redirect": "",
"fast_open": false
}

//修改/root/shadowosocks/config.json

端口、密码和加密方式需要你自己根据你自己的情况进行修改
python server.py -p 6666(你设置的端口) -k 666666(SSR链接密码) -m aes-256-cfb(加密方式) -P auth_sha1_v2_compatible -o tls1.2_ticket_auth_compatible -d start //已经失效了

0 评论 :

发表评论