要注意的事项:
1、VPS time difference between V2Ray client and server Link
2、Single vmess and shadowsocks account Link
3、Multiple UUIDs for V2Ray accounts using the same port number Link
——————
1、你用“Install new OS” 安装新的OS,你选CentOS 7 64 BBR就可以。安装完后,系统会给你SSH port number(这个不会变),然后一个新的密码,如果你忘了,你可以看看你的邮箱。如果邮箱文件删了,那么只能重新安装一个新的。
在我的CentOS BBR VPS的time竟然超过2分钟,于是我尝试用NTP,但是都不成功,原来VPS blocked了NTP port number 123。那么真的没有办法,只能用手动方法去更新server time。我发现system time和hardware time是有区别,hardware time是比较准,但是上次因为用错command,把system time over write hard time。
Display system time command
[root@host ~]# date
Mon Nov 26 11:08:00 EST 2018
複製代碼
.
Set system time using 'date' command
date hh:mm:ss
複製代碼
,where hh:mm:ss should be set as close as the client system time as possible.
Display hardware clock time
hwclock -r
複製代碼
.
Set system time via hardware clock command 'hwclock'
hwclock -s
複製代碼
.
Set hardware time via system time
hwclock -w
複製代碼
.作者: 角色 時間: 2018-11-27 02:19
本帖最後由 角色 於 2018-11-27 02:20 編輯
Single vmess and shadowsocks account
{
"inbound": {
"port": 12345,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": “UUID",
"level": 1,
"alterId": 64
}
]
}
},
"outbound": {
"protocol": "freedom",
"settings": {}
},
"inboundDetour": [
{
"protocol": "shadowsocks",
"port": 443,
"settings": {
"method": "chacha20-ietf-poly1305",
"password": “ss_password",
"level": 1
}
}
],
"outboundDetour": [
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}
],
"routing": {
"strategy": "rules",
"settings": {
"rules": [
{
"type": "field",
"ip": ["geoip:private"],
"outboundTag": "blocked"
}
]
}
}
}
複製代碼
, where
"inboundDetour": [
{
"protocol": "shadowsocks",
"port": 443,
"settings": {
"method": "chacha20-ietf-poly1305",
"password": “ss_password",
"level": 1
}
}
],
複製代碼
was added on purpose for shadowsocks account作者: 角色 時間: 2018-11-30 00:18
本帖最後由 角色 於 2018-11-30 00:21 編輯
Multiple UUIDs for V2Ray accounts using the same port number
{
"inbound": {
"port": 12345,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": “UUID1",
"level": 1,
"alterId": 64
}, <------ You have to add "," after "}".
{
"id": “UUID2",
"level": 1,
"alterId": 64
} <----- You do not need to put "," because it is the end of the "clients" field.