跳转至

TProxy

sing-box 1.14.0 中的更改

udp_mapping
udp_filtering
udp_nat_max

仅支持 Linux。

结构

{
  "type": "tproxy",
  "tag": "tproxy-in",

  ... // 监听字段

  "network": "udp",

  ... // UDP NAT 字段
}

监听字段

参阅 监听字段

字段

network

监听的网络协议,tcp udp 之一。

默认所有。

UDP NAT 字段

参阅 UDP NAT 字段