Back to Sing Box

Network Namespace

docs/configuration/network-namespace/index.md

1.14.0772 B
Original Source

!!! question "Since sing-box 1.14.0"

!!! quote ""

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

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

type

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

TypeFormat
defaultDefault
unshareUnshare

tag

==Required==

The tag of the network namespace.