Skip to content

Since sing-box 1.14.0

Only supported on Linux.

Network Namespace

Network namespaces let inbounds and outbounds run inside a separate Linux network namespace, referenced by tag from the tun, Listen Fields and Dial Fields.

Structure

{
  "network_namespaces": [
    {
      "type": "",
      "tag": ""
    }
  ]
}

type

The type of the network namespace, default is used by default.

Type Format
default Default
unshare Unshare

tag

Required

The tag of the network namespace.