4 Service net.connman.vpn
5 Interface net.connman.vpn.Connection
6 Object path [variable prefix]/{connection0,connection1,...}
8 Method void SetProperty(string name, variant value) [experimental]
10 Changes the value of the specified property. Only
11 properties that are listed as read-write are
12 changeable. On success a PropertyChanged signal
15 Possible Errors: [connection].Error.InvalidArguments
16 [connection].Error.InvalidProperty
18 void ClearProperty(string name) [experimental]
20 Clears the value of the specified property.
22 Possible Errors: [connection].Error.InvalidArguments
23 [connection].Error.InvalidProperty
25 void Connect() [experimental]
27 Connect this VPN connection. It will attempt to connect
28 to the VPN connection. The Connect() will wait until
29 the connection is created or there is an error. The
30 error description is returned in dbus error.
32 Possible Errors: [connection].Error.InvalidArguments
33 [connection].Error.InProgress
35 void Disconnect() [experimental]
37 Disconnect this VPN connection. If the connection is
38 not connected an error message will be generated.
40 Possible Errors: [connection].Error.InvalidArguments
42 Signals PropertyChanged(string name, variant value) [experimental]
44 This signal indicates a changed value of the given
47 Properties string State [readonly]
49 The connection state information.
51 Valid states are "idle", "failure", "configuration",
52 "ready", "disconnect".
54 string Type [readonly]
56 The VPN type (for example "openvpn", "vpnc" etc.)
58 string Name [readonly]
62 string Domain [readonly]
64 The domain name used behind the VPN connection.
65 This is optional for most VPN technologies.
67 string Host [readonly]
69 The VPN host (server) address.
73 The index of the VPN network tunneling interface.
74 If there is no tunneling device, then this value
81 The current configured IPv4 address.
85 The current configured IPv4 netmask.
89 The current configured IPv4 gateway.
93 The current configured VPN tunnel endpoint
100 The current configured IPv6 address.
104 The prefix length of the IPv6 address.
108 The current configured IPv6 gateway.
112 The current configured VPN tunnel endpoint
115 array{string} Nameservers [readonly]
117 The list of nameservers set by VPN.
119 array{dict} UserRoutes [readwrite]
123 Protocol family of the route. Set to 4
124 if IPv4 and 6 if IPv6 route.
128 The network part of the route.
132 The netmask of the route.
136 Gateway address of the route.
138 The list of currently active user activated
141 array{dict} ServerRoutes [readonly]
145 Protocol family of the route. Set to 4
146 if IPv4 and 6 if IPv6 route.
150 The network part of the route.
154 The netmask of the route.
158 Gateway address of the route.
160 The VPN server activated route. These routes
161 are pushed to connman by VPN server.
163 There can be other properties also but as the VPN
164 technologies are so different, they have different
165 kind of options that they need, so not all options
166 are mentioned in this document.