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