zhuangjinxin / blog

:notebook: 个人博客 技术分享 整理笔记
http://blog.zhuangjinxin.top
7 stars 0 forks source link

在Vultr Ubuntu上自建ShadowSocks #42

Open zhuangjinxin opened 6 years ago

zhuangjinxin commented 6 years ago
wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocksR.sh
chmod +x shadowsocksR.sh
root@vultr:~# ./shadowsocks-all.sh 2>&1 | tee shadowsocks-all.log
Which Shadowsocks server you'd select:
1) Shadowsocks-Python
2) ShadowsocksR
3) Shadowsocks-Go
4) Shadowsocks-libev
Please enter a number (Default Shadowsocks-Python):2

You choose = ShadowsocksR

Please enter password for ShadowsocksR
(Default password: teddysun.com):HelloWorld

password = *******

Please enter a port for ShadowsocksR [1-65535]
(Default port: 8989):****

port = ****

Please select stream cipher for ShadowsocksR:
1) none
2) aes-256-cfb
3) aes-192-cfb
4) aes-128-cfb
5) aes-256-cfb8
6) aes-192-cfb8
7) aes-128-cfb8
8) aes-256-ctr
9) aes-192-ctr
10) aes-128-ctr
11) chacha20-ietf
12) chacha20
13) rc4-md5
14) rc4-md5-6
Which cipher you'd select(Default: aes-256-cfb):

cipher = aes-256-cfb

Please select protocol for ShadowsocksR:
1) origin
2) verify_deflate
3) auth_sha1_v4
4) auth_sha1_v4_compatible
5) auth_aes128_md5
6) auth_aes128_sha1
7) auth_chain_a
8) auth_chain_b
Which protocol you'd select(Default: origin):

protocol = origin

Please select obfs for ShadowsocksR:
1) plain
2) http_simple
3) http_simple_compatible
4) http_post
5) http_post_compatible
6) tls1.2_ticket_auth
7) tls1.2_ticket_auth_compatible
8) tls1.2_ticket_fastauth
9) tls1.2_ticket_fastauth_compatible
Which obfs you'd select(Default: plain):

obfs = plain

Press any key to start...or Press Ctrl+C to cancel
zhuangjinxin commented 6 years ago

安装过程中遇见的问题:

ubuntu Setting locale failed

解决办法: vi ~/.bashrc 添加LC_ALL=C source ~/.bashrc

zhuangjinxin commented 6 years ago

ios用户: 1.在App Store下载安装FirstWingy; 2.打开FirstWingy点击右上角+添加线路,填写配置信息; 3.选择线路,链接成功!

注:第2步需要获取修改VPN的权限,弹窗时允许就行;