Merge pull request #51 from xqzr/patch-10

add VMess-QUIC
This commit is contained in:
xqzr
2022-04-20 10:08:16 +08:00
committed by GitHub
2 changed files with 49 additions and 0 deletions

25
VMess-QUIC/client.json Normal file
View File

@@ -0,0 +1,25 @@
{
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "",
"port": 443, // 也可以用 8443 nginx 的默认 http3 端口 https://quic.nginx.org/readme.html
"users": [
{
"id": "",
"security": "zero"
}
]
}
]
},
"streamSettings": {
"network": "quic",
"quicSettings": {}, // 不使用伪装头和额外加密 原生 quic 流量特征
"security": "tls",
"tlsSettings": {
"servername": "*" //servername 必填 因为 quic 会验证 sni 否则不发包
}
}
}

24
VMess-QUIC/server.json Normal file
View File

@@ -0,0 +1,24 @@
{
"port": 443,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": ""
}
]
},
"streamSettings": {
"network": "quic",
"quicSettings": {},
"security": "tls",
"tlsSettings": {
"certificates": [
{
"certificateFile": "fullchain.crt", // 使用真实证书
"keyFile": "private.key"
}
]
}
}
}