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

36 lines
1.1 KiB
Markdown
Raw Normal View History

2022-08-25 13:08:29 +00:00
# Inbound
2022-07-08 09:01:38 +00:00
### Structure
```json
{
"inbounds": [
{
"type": "",
2022-07-08 10:10:39 +00:00
"tag": ""
2022-07-08 09:01:38 +00:00
}
]
}
2022-07-08 10:10:39 +00:00
```
### Fields
2022-08-31 04:50:26 +00: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 13:18:43 +00:00
| `shadowtls` | [ShadowTLS](./shadowtls) | TCP |
2022-08-31 04:50:26 +00:00
| `tun` | [Tun](./tun) | X |
| `redirect` | [Redirect](./redirect) | X |
| `tproxy` | [TProxy](./tproxy) | X |
2022-07-08 10:10:39 +00:00
#### tag
The tag of the inbound.