4 Service net.connman.vpn
5 Interface net.connman.vpn.Connection
6 Object path [variable prefix]/{connection0,connection1,...}
8 Methods dict GetProperties() [experimental]
10 Returns properties for the connection object. See
11 the properties section for available properties.
13 Possible Errors: [connection].Error.InvalidArguments
15 void SetProperty(string name, variant value) [experimental]
17 Changes the value of the specified property. Only
18 properties that are listed as read-write are
19 changeable. On success a PropertyChanged signal
22 Possible Errors: [connection].Error.InvalidArguments
23 [connection].Error.InvalidProperty
25 void ClearProperty(string name) [experimental]
27 Clears the value of the specified property.
29 Possible Errors: [connection].Error.InvalidArguments
30 [connection].Error.InvalidProperty
32 void Connect() [experimental]
34 Connect this VPN connection. It will attempt to connect
35 to the VPN connection. The Connect() will wait until
36 the connection is created or there is an error. The
37 error description is returned in dbus error.
39 Possible Errors: [connection].Error.InvalidArguments
40 [connection].Error.InProgress
42 void Disconnect() [experimental]
44 Disconnect this VPN connection. If the connection is
45 not connected an error message will be generated.
47 Possible Errors: [connection].Error.InvalidArguments
49 Signals PropertyChanged(string name, variant value) [experimental]
51 This signal indicates a changed value of the given
54 Properties string State [readonly]
56 The connection state information.
58 Valid states are "idle", "failure", "configuration",
59 "ready", "disconnect".
61 string Type [readonly]
63 The VPN type (for example "openvpn", "vpnc" etc.)
65 string Name [readonly]
69 string Domain [readonly]
71 The domain name used behind the VPN connection.
72 This is optional for most VPN technologies.
74 string Host [readonly]
76 The VPN host (server) address.
80 The index of the VPN network tunneling interface.
81 If there is no tunneling device, then this value
88 The current configured IPv4 address.
92 The current configured IPv4 netmask.
96 The current configured IPv4 gateway.
100 The current configured VPN tunnel endpoint
107 The current configured IPv6 address.
111 The prefix length of the IPv6 address.
115 The current configured IPv6 gateway.
119 The current configured VPN tunnel endpoint
122 array{string} Nameservers [readonly]
124 The list of nameservers set by VPN.
126 array{dict} UserRoutes [readwrite]
130 Protocol family of the route. Set to 4
131 if IPv4 and 6 if IPv6 route.
135 The network part of the route.
139 The netmask of the route.
143 Gateway address of the route.
145 The list of currently active user activated
148 array{dict} ServerRoutes [readonly]
152 Protocol family of the route. Set to 4
153 if IPv4 and 6 if IPv6 route.
157 The network part of the route.
161 The netmask of the route.
165 Gateway address of the route.
167 The VPN server activated route. These routes
168 are pushed to connman by VPN server.
170 There can be other properties also but as the VPN
171 technologies are so different, they have different
172 kind of options that they need, so not all options
173 are mentioned in this document.