mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-12-27 00:45:39 +08:00
29 lines
323 B
Markdown
29 lines
323 B
Markdown
!!! error ""
|
|
|
|
Only supported on Linux.
|
|
|
|
### Structure
|
|
|
|
```json
|
|
{
|
|
"type": "tproxy",
|
|
"tag": "tproxy-in",
|
|
|
|
... // Listen Fields
|
|
|
|
"network": "udp"
|
|
}
|
|
```
|
|
|
|
### Listen Fields
|
|
|
|
See [Listen Fields](/configuration/shared/listen) for details.
|
|
|
|
### Fields
|
|
|
|
#### network
|
|
|
|
Listen network, one of `tcp` `udp`.
|
|
|
|
Both if empty.
|