搭建ShadowSocks
运行以下命令:
wget --no-check-certificate -O shadowsocks-all.sh https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-all.sh chmod +x shadowsocks-all.sh ./shadowsocks-all.sh 2>&1 | tee shadowsocks-all.log
选择脚本(Python、R、Go、libev),任选一个:
Which Shadowsocks server you'd select: 1.Shadowsocks-Python 2.ShadowsocksR 3.Shadowsocks-Go 4.Shadowsocks-libev Please enter a number (default 1):
笔者选择Shadowsocks-Go
,输入3......然后,输入密码和端口,笔者直接回车用默认:
You choose = Shadowsocks-Go Please enter password for Shadowsocks-Go (default password: teddysun.com): password = teddysun.com Please enter a port for Shadowsocks-Go [1-65535] (default port: 8989): port = 8989 Press any key to start...or Press Ctrl+C to cancel
安装成功后,命令行出现:
Congratulations, Shadowsocks-Go server install completed! Your Server IP : 45.32.73.59 Your Server Port : 8989 Your Password : teddysun.com Your Encryption Method: aes-256-cfb Welcome to visit: https://teddysun.com/486.html Enjoy it!
(如果安装失败,请尝试其他脚本)
windows客户端下载:https://github.com/shadowsocks/shadowsocks-windows/releases
笔者使用的3.4.3版本,下载好Shadowsocks-3.4.3.zip
,解压,里面只有一个Shadowsocks.exe
。打开,输入服务器ip、端口、密码:
把刚才安装Shadowsocks脚本成功后,输出的信息填上去:
服务器地址,vps的ip地址,Your Server IP
服务器端口,vps shadowsocks端口,Your Server Port ,默认8989
密码,Your Password,默认 teddysun.com
加密,Your Encryption Method,默认aes-256-cfb
代理端口,这是代理本机的端口,建议默认 1080
.
mac用Shadowsocks-X NG客户端 https://github.com/shadowsocks/ShadowsocksX-NG/releases
去chrome商场安装 SwitchyOmega插件。
1.proxy模式(如图):
代理协议:socks5 代理服务器:127.0.0.1 // 本地ip 代理端口:1080 // Shadowsocks客户端配置的代理端口
按左边的“应用选项”
让配置生效。
2.auto switch模式
把需要代理的域名或网址,输入到条件中,情景模式选
proxy
(刚才配置的);
默认情景模式,建议"直接连接",意思是不配置条件的网址默认不代理。
在插件栏点击SwitchOmega,选"auto switch"
如果google能正常访问,证明你搭建Shadowsocks成功了!
下载ShowdockSocks Android : https://github.com/shadowsocks/shadowsocks-android/releases
1.点击“手动设置”
2.填写服务器信息
路由选择“绕过局域网与中国大陆网址”。
3.连接
点击“检测网络连接”,等几秒出现“连接有效”证明连接成功:
转载自:轻松在 VPS 搭建 Shadowsocks 翻墙 ($5/月 支付宝)
金生水起:小老弟还在翻墙啊
2019-08-01 20:18:15回复