tun: NetworkManager Reference Manual

## tun tun — Tunnel Settings |

## Properties

Table 86.

Key Name | Value Type | Default Value | Value Description
--- | --- | --- | ---
    group
    string
| The group ID which will own the device. If set to NULL everyone will be able to use the device.
    mode
    uint32
    1
| The operating mode of the virtual device. Allowed values are NM_SETTING_TUN_MODE_TUN (1) to create a layer 3 device and NM_SETTING_TUN_MODE_TAP (2) to create an Ethernet-like layer 2 one.
    multi-queue
    boolean
    FALSE
| If the property is set to TRUE, the interface will support multiple file descriptors (queues) to parallelize packet sending or receiving. Otherwise, the interface will only support a single queue.
    name
    string
    tun
| The setting's name, which uniquely identifies the setting within the connection. Each setting type has a name unique to that type, for example "ppp" or "wireless" or "wired".
    owner
    string
| The user ID which will own the device. If set to NULL everyone will be able to use the device.
    pi
    boolean
    FALSE
| If TRUE the interface will prepend a 4 byte header describing the physical interface to the packets.
    vnet-hdr
    boolean
    FALSE
| If TRUE the IFF_VNET_HDR the tunnel packets will include a virtio network header.