diff --git a/docs/config/inbound/listeners/snell.en.md b/docs/config/inbound/listeners/snell.en.md new file mode 100644 index 000000000..13b71ac42 --- /dev/null +++ b/docs/config/inbound/listeners/snell.en.md @@ -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) + +``` diff --git a/docs/config/inbound/listeners/snell.md b/docs/config/inbound/listeners/snell.md new file mode 100644 index 000000000..d3cf3144b --- /dev/null +++ b/docs/config/inbound/listeners/snell.md @@ -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 名称必须合法,否则会出错) + +``` diff --git a/docs/config/inbound/listeners/snell.ru.md b/docs/config/inbound/listeners/snell.ru.md new file mode 100644 index 000000000..df525f0bd --- /dev/null +++ b/docs/config/inbound/listeners/snell.ru.md @@ -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 # Если значение не пустое, входящий трафик будет напрямую перенаправлен на указанный прокси (в этом случае имя прокси должно быть корректным, иначе возникнет ошибка) + +``` diff --git a/mkdocs.yml b/mkdocs.yml index d540ac24b..91bc6903d 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -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