sing-box/docs/configuration/inbound/index.md

37 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2022-08-25 21:08:29 +08:00
# Inbound
2022-07-08 17:01:38 +08:00
### Structure
```json
{
"inbounds": [
{
"type": "",
2022-07-08 18:10:39 +08:00
"tag": ""
2022-07-08 17:01:38 +08:00
}
]
}
2022-07-08 18:10:39 +08:00
```
### Fields
2022-08-31 12:50:26 +08:00
| Type | Format | Injectable |
|---------------|------------------------------|------------|
| `direct` | [Direct](./direct) | X |
| `mixed` | [Mixed](./mixed) | TCP |
| `socks` | [SOCKS](./socks) | TCP |
| `http` | [HTTP](./http) | TCP |
| `shadowsocks` | [Shadowsocks](./shadowsocks) | TCP |
| `vmess` | [VMess](./vmess) | TCP |
| `trojan` | [Trojan](./trojan) | TCP |
| `naive` | [Naive](./naive) | X |
| `hysteria` | [Hysteria](./hysteria) | X |
2023-02-21 21:18:43 +08:00
| `shadowtls` | [ShadowTLS](./shadowtls) | TCP |
| `vless` | [VLESS](./vless) | TCP |
2022-08-31 12:50:26 +08:00
| `tun` | [Tun](./tun) | X |
| `redirect` | [Redirect](./redirect) | X |
| `tproxy` | [TProxy](./tproxy) | X |
2022-07-08 18:10:39 +08:00
#### tag
The tag of the inbound.