github.com/sagernet/sing-box@v1.9.0-rc.20/docs/configuration/inbound/index.zh.md (about)

     1  # 入站
     2  
     3  ### 结构
     4  
     5  ```json
     6  {
     7    "inbounds": [
     8      {
     9        "type": "",
    10        "tag": ""
    11      }
    12    ]
    13  }
    14  ```
    15  
    16  ### 字段
    17  
    18  | 类型            | 格式                           | 注入支持 |
    19  |---------------|------------------------------|------|
    20  | `direct`      | [Direct](./direct/)           | X    |
    21  | `mixed`       | [Mixed](./mixed/)             | TCP  |
    22  | `socks`       | [SOCKS](./socks/)             | TCP  |
    23  | `http`        | [HTTP](./http/)               | TCP  |
    24  | `shadowsocks` | [Shadowsocks](./shadowsocks/) | TCP  |
    25  | `vmess`       | [VMess](./vmess/)             | TCP  |
    26  | `trojan`      | [Trojan](./trojan/)           | TCP  |
    27  | `naive`       | [Naive](./naive/)             | X    |
    28  | `hysteria`    | [Hysteria](./hysteria/)       | X    |
    29  | `shadowtls`   | [ShadowTLS](./shadowtls/)     | TCP  |
    30  | `tuic`        | [TUIC](./tuic/)               | X    |
    31  | `hysteria2`   | [Hysteria2](./hysteria2/)     | X    |
    32  | `vless`       | [VLESS](./vless/)             | TCP  |
    33  | `tun`         | [Tun](./tun/)                 | X    |
    34  | `redirect`    | [Redirect](./redirect/)       | X    |
    35  | `tproxy`      | [TProxy](./tproxy/)           | X    |
    36  
    37  #### tag
    38  
    39  入站的标签。