mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-21 16:11:32 +00:00
commit
eaa4be6186
25
VMess-QUIC/client.json
Normal file
25
VMess-QUIC/client.json
Normal 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
24
VMess-QUIC/server.json
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue