搭建ShadowSocks

来源:互联网 发布:韦德虎扑数据 编辑:程序博客网 时间:2024/04/27 20:42

VPS安装ShadowSocks

推荐看秋水逸冰的《Shadowsocks 一键安装脚本(四合一)》的安装教程。

运行以下命令:

wget --no-check-certificate -O shadowsocks-all.sh https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-all.shchmod +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-Python2.ShadowsocksR3.Shadowsocks-Go4.Shadowsocks-libevPlease enter a number (default 1):

笔者选择Shadowsocks-Go,输入3……然后,输入密码和端口,笔者直接回车用默认:

You choose = Shadowsocks-GoPlease enter password for Shadowsocks-Go(default password: teddysun.com):password = teddysun.comPlease enter a port for Shadowsocks-Go [1-65535](default port: 8989):port = 8989Press any key to start...or Press Ctrl+C to cancel

安装成功后,命令行出现:

Congratulations, Shadowsocks-Go server install completed!Your Server IP        :  45.32.73.59Your Server Port      :  8989Your Password         :  teddysun.comYour Encryption Method:  aes-256-cfb

(如果安装失败,请尝试其他脚本)