Skip to content

Commit

Permalink
更新hy
Browse files Browse the repository at this point in the history
  • Loading branch information
xishang0128 committed Jun 8, 2024
1 parent 05f5651 commit 3217ab7
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 20 deletions.
6 changes: 1 addition & 5 deletions docs/config/proxies/hysteria.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
51 changes: 36 additions & 15 deletions docs/config/proxies/hysteria2.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 流量混淆器密码

0 comments on commit 3217ab7

Please sign in to comment.