From 3217ab7f78646bed86c3f5c44c85820472d00767 Mon Sep 17 00:00:00 2001 From: xishang0128 Date: Sat, 8 Jun 2024 21:30:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0hy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/config/proxies/hysteria.md | 6 +--- docs/config/proxies/hysteria2.md | 51 ++++++++++++++++++++++---------- 2 files changed, 37 insertions(+), 20 deletions(-) diff --git a/docs/config/proxies/hysteria.md b/docs/config/proxies/hysteria.md index 9898eab0..a0b17448 100644 --- a/docs/config/proxies/hysteria.md +++ b/docs/config/proxies/hysteria.md @@ -7,8 +7,7 @@ proxies: server: server.com port: 443 # ports: 1000,2000-3000,4000 # port 不可省略 - auth_str: yourpassword # 将会在未来某个时候删除 - # auth-str: yourpassword + auth-str: yourpassword # obfs: obfs_str # alpn: # - h3 @@ -17,12 +16,9 @@ proxies: down: "200 Mbps" # 若不写单位,默认为 Mbps # sni: server.com # skip-cert-verify: false - # recv_window_conn: 12582912 # 将会在未来某个时候删除 # recv-window-conn: 12582912 - # recv_window: 52428800 # 将会在未来某个时候删除 # recv-window: 52428800 # ca: "./my.ca" - # ca_str: "xyz" # 将会在未来某个时候删除 # ca-str: "xyz" # disable_mtu_discovery: false # fingerprint: xxxx diff --git a/docs/config/proxies/hysteria2.md b/docs/config/proxies/hysteria2.md index 2de37ca6..894c1df8 100644 --- a/docs/config/proxies/hysteria2.md +++ b/docs/config/proxies/hysteria2.md @@ -7,22 +7,43 @@ proxies: - name: "hysteria2" type: hysteria2 server: server.com - port: 443 # 固定端口 - # ports: 200/204/401-429/501-503 # 端口跳跃格式1 - # ports: "200,204,401-429,501-503" # 端口跳跃格式2 - # up和down均不写或为0则使用BBR流控 - # up: "30 Mbps" # 若不写单位,默认为 Mbps - # down: "200 Mbps" # 若不写单位,默认为 Mbps + port: 443 + ports: 443-8443 password: yourpassword - # obfs: salamander # 默认为空,如果填写则开启obfs,目前仅支持salamander - # obfs-password: yourpassword - # sni: server.com - # skip-cert-verify: false - # fingerprint: xxxx - # alpn: - # - h3 - # ca: "./my.ca" - # ca-str: "xyz" + up: "30 Mbps" + down: "200 Mbps" + obfs: salamander # 默认为空,如果填写则开启obfs,目前仅支持salamander + obfs-password: yourpassword + + sni: server.com + skip-cert-verify: false + fingerprint: xxxx + alpn: + - h3 + ca: "./my.ca" + ca-str: "xyz" ``` [通用字段](./index.md) + +[TLS 字段](./tls.md) + +## ports + +配置则启用端口跳跃,忽略`port`,格式参考[端口范围](../syntax.md#_13) + +## password + +认证密码 + +## up/down + +brutal 速率控制,若不写单位,默认为 Mbps + +## obfs + +QUIC 流量混淆器类型,仅可设为 `salamander`,如果为空则禁用 + +## obfs-password + +QUIC 流量混淆器密码