From a75477466c3cb2902717d71b53cb83a5902b0c38 Mon Sep 17 00:00:00 2001 From: xqzr <34030394+xqzr@users.noreply.github.com> Date: Sun, 30 Jan 2022 23:27:54 +0800 Subject: [PATCH 1/7] Create server.json --- VMess-QUIC/server.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 VMess-QUIC/server.json diff --git a/VMess-QUIC/server.json b/VMess-QUIC/server.json new file mode 100644 index 0000000..b29d0b7 --- /dev/null +++ b/VMess-QUIC/server.json @@ -0,0 +1,26 @@ +```json +{ + "port": 443, + "protocol": "vmess", + "settings": { + "clients": [ + { + "id": "" + } + ] + }, + "streamSettings": { + "network": "quic", + "quicSettings": {}, + "security": "tls", + "tlsSettings": { + "certificates": [ + { + "certificateFile": "fullchain.crt", + "keyFile": "private.key" + } + ] + } + } +} +``` From 97977bd169301e961c5690467953bdbb7f66ef14 Mon Sep 17 00:00:00 2001 From: xqzr <34030394+xqzr@users.noreply.github.com> Date: Sun, 30 Jan 2022 23:29:25 +0800 Subject: [PATCH 2/7] Update server.json --- VMess-QUIC/server.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/VMess-QUIC/server.json b/VMess-QUIC/server.json index b29d0b7..0a66204 100644 --- a/VMess-QUIC/server.json +++ b/VMess-QUIC/server.json @@ -1,4 +1,3 @@ -```json { "port": 443, "protocol": "vmess", @@ -23,4 +22,3 @@ } } } -``` From cde55838a75311fd6fdcd3ead31a5a12893e1ef2 Mon Sep 17 00:00:00 2001 From: xqzr <34030394+xqzr@users.noreply.github.com> Date: Sun, 30 Jan 2022 23:29:56 +0800 Subject: [PATCH 3/7] Create client.json --- VMess-QUIC/client.json | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 VMess-QUIC/client.json diff --git a/VMess-QUIC/client.json b/VMess-QUIC/client.json new file mode 100644 index 0000000..9cd1527 --- /dev/null +++ b/VMess-QUIC/client.json @@ -0,0 +1,25 @@ +{ + "protocol": "vmess", + "settings": { + "vnext": [ + { + "address": "", + "port": 443, + "users": [ + { + "id": "", + "security": "zero" + } + ] + } + ] + }, + "streamSettings": { + "network": "quic", + "quicSettings": {}, + "security": "tls", + "tlsSettings": { + "servername": "*" + } + } +} From 46fe5c51cc59078987609c03e2fe157f3d316a02 Mon Sep 17 00:00:00 2001 From: xqzr <34030394+xqzr@users.noreply.github.com> Date: Wed, 20 Apr 2022 10:06:05 +0800 Subject: [PATCH 4/7] Update VMess-QUIC/client.json Co-authored-by: yuhan6665 <1588741+yuhan6665@users.noreply.github.com> --- VMess-QUIC/client.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VMess-QUIC/client.json b/VMess-QUIC/client.json index 9cd1527..023708f 100644 --- a/VMess-QUIC/client.json +++ b/VMess-QUIC/client.json @@ -4,7 +4,7 @@ "vnext": [ { "address": "", - "port": 443, + "port": 443, // 也可以用 8443 nginx 的默认 http3 端口 https://quic.nginx.org/readme.html "users": [ { "id": "", From 84b1489bb968fab86c0a307a5afc0a1532cbc781 Mon Sep 17 00:00:00 2001 From: xqzr <34030394+xqzr@users.noreply.github.com> Date: Wed, 20 Apr 2022 10:06:29 +0800 Subject: [PATCH 5/7] Update VMess-QUIC/client.json Co-authored-by: yuhan6665 <1588741+yuhan6665@users.noreply.github.com> --- VMess-QUIC/client.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VMess-QUIC/client.json b/VMess-QUIC/client.json index 023708f..4b6969c 100644 --- a/VMess-QUIC/client.json +++ b/VMess-QUIC/client.json @@ -16,7 +16,7 @@ }, "streamSettings": { "network": "quic", - "quicSettings": {}, + "quicSettings": {}, // 不使用伪装头和额外加密 原生 quic 流量特征 "security": "tls", "tlsSettings": { "servername": "*" From e9451d19a0b0add8d7dc5b06a1aaf116187c225d Mon Sep 17 00:00:00 2001 From: xqzr <34030394+xqzr@users.noreply.github.com> Date: Wed, 20 Apr 2022 10:06:41 +0800 Subject: [PATCH 6/7] Update VMess-QUIC/client.json Co-authored-by: yuhan6665 <1588741+yuhan6665@users.noreply.github.com> --- VMess-QUIC/client.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VMess-QUIC/client.json b/VMess-QUIC/client.json index 4b6969c..068511a 100644 --- a/VMess-QUIC/client.json +++ b/VMess-QUIC/client.json @@ -19,7 +19,7 @@ "quicSettings": {}, // 不使用伪装头和额外加密 原生 quic 流量特征 "security": "tls", "tlsSettings": { - "servername": "*" + "servername": "*" //servername 必填 因为 quic 会验证 sni 否则不发包 } } } From dbd71fa0f765221a33106fe570de23028296d1a1 Mon Sep 17 00:00:00 2001 From: xqzr <34030394+xqzr@users.noreply.github.com> Date: Wed, 20 Apr 2022 10:06:53 +0800 Subject: [PATCH 7/7] Update VMess-QUIC/server.json Co-authored-by: yuhan6665 <1588741+yuhan6665@users.noreply.github.com> --- VMess-QUIC/server.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VMess-QUIC/server.json b/VMess-QUIC/server.json index 0a66204..c81bae7 100644 --- a/VMess-QUIC/server.json +++ b/VMess-QUIC/server.json @@ -15,7 +15,7 @@ "tlsSettings": { "certificates": [ { - "certificateFile": "fullchain.crt", + "certificateFile": "fullchain.crt", // 使用真实证书 "keyFile": "private.key" } ]