最后更新:
2018-11-28流程优化/排版优化
2018-09-18折叠一家VPS的推荐
2018-08-01新增android版本代理软件surfboard,下载及测试方式见本文末尾
2018年6月1日新增hostmybyte 作为备用的VPS选项,他家的CN2线路(已下架)比起bandwagon便宜,效率不错。
2018年3月19日更新NTOPNG(流量监控工具)安装教程 2018年1月13日 #更新V2ray教程 热爱翻墙的你,一定不要这么有趣的翻墙工具
2017年9月18日 #更新SS版本号至3.10,更新引用来源
2017年7月8日 #修正了obfs安装部分的错误#
#环境:bandwagonhost VPS(老牌vps供应商,提供一键备份/还原/API等多种实用功能,新手必备,延时150ms左右/YouTube看4K视频无压力,速度极佳)或者 魔方云 (提供北京地区IP地址) + ubuntu 16.04
#准备工作
后续安装会用到 git命令,所以首先安装 git,对于ubuntu系统,复制并运行以下指令:
apt-get update
apt-get install git
至此,准备工作完成。
#安装shadowsocks
这里推荐“秋水逸冰”的一键安装版本,引用链接见文末
复制并运行下列指令
wget --no-check-certificate -O shadowsocks-libev-debian.sh https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-libev-debian.sh
chmod +x shadowsocks-libev-debian.sh
./shadowsocks-libev-debian.sh 2>&1 | tee shadowsocks-libev-debian.log
安装完成后,脚本提示如下:
Congratulations, Shadowsocks-libev install completed!
Your Server IP:your_server_ip
Your Server Port:your_server_port
Your Password:your_password
Your Local IP:127.0.0.1
Your Local Port:1080
Your Encryption Method:aes-256-cfb
Welcome to visit:http://teddysun.com/357.htmlEnjoy it!
Your Server IP:your_server_ip
Your Server Port:your_server_port
Your Password:your_password
Your Local IP:127.0.0.1
Your Local Port:1080
Your Encryption Method:aes-256-cfb
Welcome to visit:http://teddysun.com/357.htmlEnjoy it!
Tips:卸载方法:
使用 root 用户登录,运行以下命令:
./shadowsocks-libev.sh uninstall
安装完成后即已后台启动 Shadowsocks-libev。
本脚本安装完成后,会自动将 Shadowsocks-libev 加入开机自启动。
使用命令:
启动:/etc/init.d/shadowsocks start
停止:/etc/init.d/shadowsocks stop
重启:/etc/init.d/shadowsocks restart
查看状态:/etc/init.d/shadowsocks status
#安装obfs插件
准备
sudo apt-get install --no-install-recommends build-essential autoconf libtool libssl-dev libpcre3-dev libudns-dev libev-dev asciidoc xmlto automake
安装
git clone https://github.com/shadowsocks/simple-obfs.git
cd simple-obfs
git submodule update --init --recursive
./autogen.sh
./configure && make
sudo make install
#在配置文件中写入插件信息:
vim /etc/shadowsocks-libev/config.json
在配置文件中加入两行(注意行末的半角逗号):
"plugin":"obfs-server",
"plugin_opts":"obfs=http"
-s-u-c-h-----a-s-----b-e-l-o-w---------------------------------------------------
{
"server":"0.0.0.0",
"server_port":1080,
"local_port":1081,
"password":"password",
"timeout":60,
"method":"chacha20", #注意在这里添加逗号#
"plugin":"obfs-server",
"plugin_opts":"obfs=http"
}
手机端iOS用户可以用surge/小火箭之类的客户端,android用户使用max lv开发的shadowsocks客户端和obfs插件。
来源:Play store Shadowsocks / obfs插件app / surfboard (twitter)
Shadowsocks 安装部分参照 https://teddysun.com/358.html
Simple-obfs安装部分参照
https://github.com/shadowsocks/simple-obfs
&
https://blog.imguan.com/2017/01/21/ss-libev-new/
评论
发表评论