mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 04:02:15 +02:00
065b83263c
* VoD profiles can be defined using the iPhone Configuration utility: 1. Connection Type should be set to Custom SSL 2. Identifier should be set to net.openvpn.OpenVPN-Connect.vpnplugin 3. Server can be set to a hostname, or "DEFAULT" to use the hostname(s) from the OpenVPN configuration. 4. User Authentication should be set to Certificate, and the client certificate+key should be attached as a PKCS#12 file. 5. VPN On Demand should be enabled and match entries should be defined. In addition, the OpenVPN client configuration file may be defined via key/value pairs: 1. VoD requires an autologin profile. 2. Define each OpenVPN directive as a key, with arguments specified as the value. 3. For Access server meta-directives such as OVPN_ACCESS_SERVER_USERNAME, remove the "OVPN_ACCESS_SERVER_" prefix, giving USERNAME as the directive. 4. If no arguments are present, use "NOARGS" as the value. 5. If multiple instances of the same directive are present, number the directives in the order they should be processed by appending .<n> to the directive, where n is an integer, such as remote.1 or remote.2 6. For multi-line directives such as <ca> and <tls-auth>, you must convert the multi-line argument to a single line by specifying line breaks as \n -- also note that because of this escaping model, you must use \\ to pass backslash itself. * VoD profiles are recognized and listed by the app. * The app can disconnect but not connect a VoD profile. * Most app-level functionality such as logging and preferences work correctly for VoD profiles. Core changes: * Added support for key-direction parameter in core. |
||
---|---|---|
.. | ||
ovpncli.cpp | ||
ovpncli.hpp |