Skip to content
Open
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/inbound/listeners/snell.en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Snell

```{.yaml linenums="1"}
listeners:
- name: snell-in-1
type: snell
port: 10815 # Supports ports format, e.g., 200,302 or 200,204,401-429,501-503
listen: 0.0.0.0
psk: your-password
version: 4 # Only supports 4/5
udp: true # UDP over TCP tunnel, default is true
# obfs-opts:
# mode: http # Optional: http / tls
# host: bing.com
# rule: sub-rule-name1 # Uses global rules by default; if the sub-rule is not found, it falls back to global rules directly
# proxy: proxy # If not empty, the inbound traffic will be handed over to the specified proxy directly (when not empty, the proxy name must be valid, otherwise an error will occur)

```
18 changes: 18 additions & 0 deletions docs/config/inbound/listeners/snell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Snell

```{.yaml linenums="1"}
listeners:
- name: snell-in-1
type: snell
port: 10815 # 支持使用ports格式,例如200,302 or 200,204,401-429,501-503
listen: 0.0.0.0
psk: your-password
version: 4 # 仅支持 4/5
udp: true # UDP over TCP tunnel,默认 true
# obfs-opts:
# mode: http # 可选:http / tls
# host: bing.com
# rule: sub-rule-name1 # 默认使用 rules,如果未找到 sub-rule 则直接使用 rules
# proxy: proxy # 如果不为空则直接将该入站流量交由指定 proxy 处理 (当 proxy 不为空时,这里的 proxy 名称必须合法,否则会出错)

```
18 changes: 18 additions & 0 deletions docs/config/inbound/listeners/snell.ru.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Snell

```{.yaml linenums="1"}
listeners:
- name: snell-in-1
type: snell
port: 10815 # Поддерживается формат перечисления портов, например: 200,302 или 200,204,401-429,501-503
listen: 0.0.0.0
psk: your-password
version: 4 # Поддерживаются только версии 4/5
udp: true # UDP через TCP-туннель, по умолчанию true
# obfs-opts:
# mode: http # Необязательно: http / tls
# host: bing.com
# rule: sub-rule-name1 # По умолчанию используются глобальные правила (rules); если sub-rule не найдено, будут применены глобальные правила
# proxy: proxy # Если значение не пустое, входящий трафик будет напрямую перенаправлен на указанный прокси (в этом случае имя прокси должно быть корректным, иначе возникнет ошибка)

```
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ nav:
- Hysteria2 Realm: config/inbound/listeners/hysteria2-realm.md
- TrustTunnel: config/inbound/listeners/trusttunnel.md
- tunnel: config/inbound/listeners/tunnel.md
- Snell: config/inbound/listeners/snell.md
- 出站代理:
- 通用字段: config/proxies/index.md
- TLS配置: config/proxies/tls.md
Expand Down