On Sat, Jun 12, 2021 at 6:28 PM Bo Berglund <bo.bergl...@gmail.com> wrote:
> On Sat, 12 Jun 2021 22:05:51 +0200, Bo Berglund <bo.bergl...@gmail.com> > wrote: > > >>We have some support for sending commands to the GUI to > >>connect, disconnect etc.. See > >> > >> > https://github.com/OpenVPN/openvpn-gui#send-commands-to-a-running-instance-of-openvpn-gui > >> > >>Selva > > > >Thanks a lot! > > > >This is exactly what I need in Windows! > >I just tried it in a user level command window and it works just fine > both to > >connect and to disconnect. > >I will now integrate it into my client comm application and let it > connect and > >disconnect automatically. > > > >Just another question: > >Can OpenVPN-GUI connect this way to a server if there is already a > connection to > >somewhere else active at this time? > >I think that there is some limitation on Windows regarding the tunnel > >adapters... > > Found the answer by google: > > https://michlstechblog.info/blog/openvpn-connect-to-multiple-vpns-on-windows/ That's right for version 2.4 and older. The new way is to use tapctl.exe to create adapters. Its installed by default in 2.5.x. Run "C:\Program Files\OpenVPN\bin\tapctl.exe help" from an elevated command prompt for usage. The GUI itself has virtually no limitation on the number of concurrent connections you can have. Selva
_______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users