Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions docs/config/proxies/tls.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ proxies:
enable: true
config: base64_encoded_config
# query-server-name: xxx.com
shadow-tls-opts:
version: 3
password: shadow-tls-password
jls-opts:
username: jls-user
password: jls-password
tlsmirror-opts:
primary-key: MDEyMzQ1Njc4OWFiY2RlZjAxMjM0NTY3ODlhYmNkZWY=
explicit-nonce-ciphersuites: [
Expand Down Expand Up @@ -150,6 +156,18 @@ The ECH configuration, if empty, will be resolved via DNS; otherwise, it will be

Optional, if not empty, it is used to specify the domain name when resolving via DNS.

## shadow-tls-opts

Requires `tls: true`. Uses `sni` / `servername` from the general configuration as the ShadowTLS SNI.

### shadow-tls-opts.version

Supports `v1` / `v2` / `v3`. Defaults to `v2` if left empty.

## jls-opts

Requires `tls: true`. Uses `sni` / `servername` from the general configuration as the JLS SNI.

## tlsmirror-opts

When `tls` is `true`, configuring `tlsmirror-opts` enables tlsmirror. The TLS carrier used by tlsmirror uses `servername`, `alpn`, `skip-cert-verify`, `fingerprint`, `certificate`, `private-key`, `client-fingerprint`, and `ech-opts` from the same outbound. If `servername` is empty, `server` is used.
Expand Down
18 changes: 18 additions & 0 deletions docs/config/proxies/tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ proxies:
enable: true
config: base64_encoded_config
# query-server-name: xxx.com
shadow-tls-opts:
version: 3
password: shadow-tls-password
jls-opts:
username: jls-user
password: jls-password
tlsmirror-opts:
primary-key: MDEyMzQ1Njc4OWFiY2RlZjAxMjM0NTY3ODlhYmNkZWY=
explicit-nonce-ciphersuites: [
Expand Down Expand Up @@ -149,6 +155,18 @@ ECH 配置,如果为空则通过 dns 解析,不为空则通过该值指定

可选项,不为空时用于指定通过 dns 解析时的域名

## shadow-tls-opts

需要开启 `tls: true`;使用通用配置中的 `sni` / `servername` 作为 ShadowTLS 的 SNI。

### shadow-tls-opts.version

支持 `v1` / `v2` / `v3`;留空时默认为 `v2`。

## jls-opts

需要开启 `tls: true`。使用通用配置中的 `sni` / `servername` 作为 JLS 的 SNI。

## tlsmirror-opts

当 `tls` 为 `true` 且配置 `tlsmirror-opts` 时启用 tlsmirror。tlsmirror 的 TLS 载体会使用同一出站中的 `servername`、`alpn`、`skip-cert-verify`、`fingerprint`、`certificate`、`private-key`、`client-fingerprint` 和 `ech-opts` 配置;`servername` 为空时使用 `server`。
Expand Down
18 changes: 18 additions & 0 deletions docs/config/proxies/tls.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ proxies:
enable: true
config: base64_encoded_config
# query-server-name: xxx.com
shadow-tls-opts:
version: 3
password: shadow-tls-password
jls-opts:
username: jls-user
password: jls-password
tlsmirror-opts:
primary-key: MDEyMzQ1Njc4OWFiY2RlZjAxMjM0NTY3ODlhYmNkZWY=
explicit-nonce-ciphersuites: [
Expand Down Expand Up @@ -151,6 +157,18 @@ openssl x509 -noout -fingerprint -sha256 -inform pem -in yourcert.pem

Этот параметр необязателен; если он не пуст, он используется для указания доменного имени при разрешении через DNS.

## shadow-tls-opts

Требуется включить `tls: true`. Использует `sni` / `servername` из общих настроек в качестве ShadowTLS SNI.

### shadow-tls-opts.version

Поддерживаются версии `v1` / `v2` / `v3`. По умолчанию используется `v2`, если поле оставлено пустым.

## jls-opts

Требуется включить `tls: true`. Использует `sni` / `servername` из общих настроек в качестве JLS SNI.

## tlsmirror-opts

Когда `tls` установлен в `true`, наличие `tlsmirror-opts` включает tlsmirror. TLS carrier, используемый tlsmirror, берет `servername`, `alpn`, `skip-cert-verify`, `fingerprint`, `certificate`, `private-key`, `client-fingerprint` и `ech-opts` из того же outbound. Если `servername` пустой, используется `server`.
Expand Down