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

29 lines
324 B
Markdown
Raw Permalink Normal View History

!!! quote ""
2022-08-31 06:33:52 +00:00
Only supported on Linux.
2022-07-15 00:42:02 +00:00
### Structure
```json
{
2022-08-31 04:50:26 +00:00
"type": "tproxy",
"tag": "tproxy-in",
2022-07-15 00:42:02 +00:00
2022-08-31 04:50:26 +00:00
... // Listen Fields
2022-08-23 15:15:56 +00:00
2022-08-31 04:50:26 +00:00
"network": "udp"
}
```
2022-08-23 15:15:56 +00:00
2022-07-15 00:42:02 +00:00
### Listen Fields
2023-12-14 14:23:52 +00:00
See [Listen Fields](/configuration/shared/listen/) for details.
2022-07-15 00:42:02 +00:00
2022-08-31 04:50:26 +00:00
### Fields
2022-07-15 00:42:02 +00:00
2022-08-31 04:50:26 +00:00
#### network
2022-07-15 00:42:02 +00:00
2022-08-31 04:50:26 +00:00
Listen network, one of `tcp` `udp`.
2022-07-15 00:42:02 +00:00
2022-08-31 04:50:26 +00:00
Both if empty.