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
commit eaa4be6186
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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"
}
]
}
}
}