diff --git a/VMess-QUIC/client.json b/VMess-QUIC/client.json new file mode 100644 index 0000000..068511a --- /dev/null +++ b/VMess-QUIC/client.json @@ -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 否则不发包 + } + } +} diff --git a/VMess-QUIC/server.json b/VMess-QUIC/server.json new file mode 100644 index 0000000..c81bae7 --- /dev/null +++ b/VMess-QUIC/server.json @@ -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" + } + ] + } + } +}