## vpn

vpn — VPN Settings

## Properties

Table 104.

Key Name | Value Type | Default Value | Value Description
--- | --- | --- | ---

    data

    dict of string to string

    {}

Dictionary of key/value pairs of VPN plugin specific data. Both keys and values must be strings.

    persistent

    boolean

    FALSE

If the VPN service supports persistence, and this property is TRUE, the VPN will attempt to stay connected across link changes and outages, until explicitly disconnected.

    secrets

    dict of string to string

    {}

Dictionary of key/value pairs of VPN plugin specific secrets like passwords or private keys. Both keys and values must be strings.

    service-type

    string

D-Bus service name of the VPN plugin that this setting uses to connect to its network. i.e. org.freedesktop.NetworkManager.vpnc for the vpnc plugin.

    timeout

    uint32

    0

Timeout for the VPN service to establish the connection. Some services may take quite a long time to connect. Value of 0 means a default timeout, which is 60 seconds (unless overridden by vpn.timeout in configuration file). Values greater than zero mean timeout in seconds.

    user-name

    string

If the VPN connection requires a user name for authentication, that name should be provided here. If the connection is available to more than one user, and the VPN requires each user to supply a different name, then leave this property empty. If this property is empty, NetworkManager will automatically supply the username of the user which requested the VPN connection.