免费容器服务站

Heroku

KubSail

arukas.io

便宜的 vps

fad10c60368a

url:https://billing.spartanhost.net/
account:jinzhentaohb@gmail.com
passwd:_Wuji5890302
pin:5890

个人vps

url https://billing.virmach.com/clientarea.php
account:jinzhentaohb@gmail.com
passwd:_Wuji5890302

Your IP is: 172.245.154.124
Your Username is: root
Your Password is: e8m8Ml8WjbO6CA72Qx
Please CHANGE the password once you have successfully logged in.

搭建 vpn

https://yuan.ga/v2ray-complete-tutorial/
https://zshttp.com/1310.html

自动安装

1
2
3
bash <(curl -L -s https://install.direct/go.sh)
# 上列命令会自动安装 V2Ray,然后执行下面命令运行
systemctl start v2ray

安装完成后会新增下列文件:

1
2
3
4
5
/usr/bin/v2ray/v2ctl:V2Ray 工具,用于给程序自身调用
/usr/bin/v2ray/v2ray:V2Ray 核心程序
/etc/v2ray/config.json:配置文件
/usr/bin/v2ray/geoip.dat:IP 数据文件,V2Ray 路由功能时有用,下同
/usr/bin/v2ray/geosite.dat:域名数据文件

vim /etc/v2ray/config.json

新增

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
"inboundDetour": [{
"protocol": "shadowsocks",
"port": 30001,
"settings": {
"method": "aes-256-cfb",
"password": "v2ray",
"udp": false
}
},
{
"protocol": "shadowsocks",
"port": 30002,
"settings": {
"method": "aes-256-cfb",
"password": "v2ray",
"udp": false
}
},
],
"log": {
"loglevel": "warning",
"access": "/var/log/v2ray/access.log",
"error": "/var/log/v2ray/error.log"
},

inboundDetour

由于 Shadowsocks 的限制,多用户的时候只能开多个端口,所以上面配置了两组

重启

1
2
systemctl stop v2ray
systemctl restart v2ray