Hi,

On 26/05/16 10:40, Lamsoge, Abhijit wrote:

Hi All,

I am trying to write python and C based application for modifying “OpenVpn” in client mode via management interface.

I need to do the following

-Update the remote server the vpn client connects to at runtime

However, the current existing management interface works like

-First connects to existing specified.

-And only on reception of event, can the management interface send a new remote site to client.

I want to

-Start openvpn in client mode, and then via my application tell openvpn to connect to a remote site, without the reception of event as specified in the document for management interface.

Is there a way to do this ?

Or maybe I am just lame to not understand it.


I'm not terribly experienced with the management interface but AFAIU you should do something like

  openvpn ... options .... --management-hold

which will start openvpn but it will not make the connection yet. Then use the management interface to connect to it and issue a
  remote <new ip> <new port>
and finally do a
  hold release
(also inside the mgmt interface).

HTH,

JJK
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to