---
url: /configuration/outbound/kyoukai.md
description: 通过 Kyoukai 多路复用代理出站
---

# kyoukai

以密码和可选记录加密建立 Kyoukai 复用连接。

```yaml check
outbounds:
  proxy:
    type: kyoukai
    server: proxy.example:443
    password: secret
    encryption: none

route:
  final: proxy

dns:
  servers:
    default: {type: udp, address: 127.0.0.1:53}
  final: default
```

## 字段

### type

* 类型：字符串。
* 必填：是，第一项。
* 取值：`kyoukai`。

### server

* 类型：端点。
* 必填：是。
* 默认端口：`443`。

### tls

* 类型：[TLS 客户端占位页](/configuration/shared/tls-client)。
* 必填：可选。
* 默认：不使用 TLS，记录层直接承载。

### password

* 类型：字符串。
* 必填：是。

### encryption

* 类型：字符串枚举。
* 默认：`none`。
* 取值：`none`、`aes-128-gcm`、`chacha20-poly1305`。

### client

* 类型：字符串。
* 默认：空。
* 行为：客户端在复用会话里报告的名称。

## 说明

Kyoukai 是会话池协议，接受四个池参数。UDP 默认使用 XUDP；也可显式选择其他受支持承载。可以套 `transport`。

## 相关

* [出站总览](/configuration/outbound/)
* [共享 TLS 客户端](/configuration/shared/tls-client)
* [共享 UDP](/configuration/shared/udp)
