
一、注册GCP
最容易的一步其实最难,怎么解决就看你的本事了。
二、创建实例
三、初步配置
四、配置SS以及BBR
进入实例控制台 – SSH – 在浏览器窗口中打开
获取root权限:
sudo su
安装SS(根据脚本提示来):
wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocksR.sh chmod +x shadowsocksR.sh ./shadowsocksR.sh 2>&1 | tee shadowsocksR.log
服务器端口:默认为 8989
密码:默认为 teddysun.com
加密方式:默认为 aes-256-cfb
协议(Protocol):默认为 origin
混淆(obfs):默认为 plain
安装BBR加速:
wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh && chmod +x bbr.sh && ./bbr.sh
如果需要重启SS
/etc/init.d/shadowsocks restart
多账户使用的配置
打开shadowsocks.json,一般在/etc下,
vi /etc/shadowsocks.json
根据以下内容来进行配置
{ "server":"0.0.0.0",
"local_address":"127.0.0.1",
"local_port":1080,
"port_password":{
"第1个账户端口号如7777":"第1个账号的密码如111111",
"第2个账户端口号如8888":"第2个账号的密码如222222",
"第3个账户端口号如9999":"第2个账号的密码如333333"
},
"timeout":300,
"method":"chacha20",
"fast_open":true}
经测试,可以比较流畅播放youtube的4k测试片,1080p更不在话下。
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
These cookies are needed for adding comments on this website.
Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.
Google Analytics is a powerful tool that tracks and analyzes website traffic for informed marketing decisions.
Service URL: policies.google.com
You can find more information in our Cookie Policy and Cookie Policy.