2023-11-09 09:04:08 +00:00
|
|
|
!!! quote ""
|
2022-08-31 06:33:52 +00:00
|
|
|
|
|
|
|
仅支持 Linux。
|
|
|
|
|
2022-08-24 10:43:39 +00:00
|
|
|
### 结构
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
2022-08-31 04:50:26 +00:00
|
|
|
"type": "tproxy",
|
|
|
|
"tag": "tproxy-in",
|
2022-08-24 10:43:39 +00:00
|
|
|
|
2022-08-31 04:50:26 +00:00
|
|
|
... // 监听字段
|
2022-08-24 10:43:39 +00:00
|
|
|
|
2022-08-31 04:50:26 +00:00
|
|
|
"network": "udp"
|
|
|
|
}
|
|
|
|
```
|
2022-08-24 10:43:39 +00:00
|
|
|
|
|
|
|
### 监听字段
|
|
|
|
|
2022-08-31 04:50:26 +00:00
|
|
|
参阅 [监听字段](/zh/configuration/shared/listen/)。
|
2022-08-24 10:43:39 +00:00
|
|
|
|
2022-08-31 04:50:26 +00:00
|
|
|
### 字段
|
2022-08-24 10:43:39 +00:00
|
|
|
|
2022-08-31 04:50:26 +00:00
|
|
|
#### network
|
2022-08-24 10:43:39 +00:00
|
|
|
|
2022-08-31 04:50:26 +00:00
|
|
|
监听的网络协议,`tcp` `udp` 之一。
|
2022-08-24 10:43:39 +00:00
|
|
|
|
2022-08-31 04:50:26 +00:00
|
|
|
默认所有。
|