OpenVPN GUI Change to allow for Multiple Connections
Sure,
The current OpenVPN Add-on (2.5.6.0) uses the OpenVPN-gui.exe to initiate a connection. Unfortunately, when you try to initiate an additional connection, the OpenVPN Add-on tries to open a NEW instance of the OpenVPN-gui.exe, then the application complains that its already open, and the connection fails.
The reason for this is due to the way your opening the connection using OpenVPN-GUI.exe It wont allow multiple instances of the GUI to run.
There has been an update that was MERGED into the source tree for OpenVPN-GUI that allows a command to be sent to the new process that will open a new connection, and more importantly close a SINGLE connection, instead of the killing of the process that you currently do.
My REQUEST:
I would like to have the NEW Feature in the OpenVPN Add-on to allow for this new connection parameter so that we can establish more than one connection, and close different connections, while leaving other connections still connected.
The details of the Modification to the code is located here: https://github.com/OpenVPN/openvpn-gui/pull/188
It was Added to the MAIN source tree here: https://github.com/OpenVPN/openvpn-gui/pull/230
Test Executable is here: https://github.com/selvanair/openvpn-gui/releases/tag/v11_testing1
Thomas
OpenVPN GUI Change to allow for Multiple Connections
Upgrade to a version of "OpenVPN-gui" that is at least 11.8.0.0 this will allow for additional command line flags to allow for connect and disconnect.
The Commit... and details:
https://github.com/OpenVPN/openvpn-gui/pull/188
Merged to the main branch. April 23rd https://github.com/OpenVPN/openvpn-gui/pull/230
Until Devolutions fixes the OpenVPN Plugin:
Create a Custom VPN type with the Correct Data.
HOST: Whatever name(Its only displayed)
Executable: C:\Program Files\OpenVPN\bin\openvpn-gui.exe
Opening arguments: --command connect SOME_PROFILE_DEFINED_IN_CONFIG_DIR
Closing arguments: --command disconnect SOME_PROFILE_DEFINED_IN_CONFIG_DIR
Tested... works. against:
OpenVPN 2.4.2 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on May 11 2017
library versions: OpenSSL 1.0.2k 26 Jan 2017, LZO 2.10
Windows version 6.2 (Windows 8 or greater) 64bit
SoftEther VPN Client
Would be nice feature if the "Custom" VPN connection would actually show a green dot next to the element name to let us know its connected.
Multiple OpenVPN connections at the same time?
Upgrade to a version of "OpenVPN-gui" that is at least 11.8.0.0 this will allow for additional command line flags to allow for connect and disconnect.
The Commit... and details:
https://github.com/OpenVPN/openvpn-gui/pull/188
Merged to the main branch. April 23rd https://github.com/OpenVPN/openvpn-gui/pull/230
Until Devolutions fixes the OpenVPN Plugin:
Create a Custom VPN type with the Correct Data.
HOST: Whatever name(Its only displayed)
Executable: C:\Program Files\OpenVPN\bin\openvpn-gui.exe
Opening arguments: --command connect SOME_PROFILE_DEFINED_IN_CONFIG_DIR
Closing arguments: --command disconnect SOME_PROFILE_DEFINED_IN_CONFIG_DIR
Tested... works. against:
OpenVPN 2.4.2 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on May 11 2017
library versions: OpenSSL 1.0.2k 26 Jan 2017, LZO 2.10
Windows version 6.2 (Windows 8 or greater) 64bit
Thomas
SoftEther VPN Client
The easiest way to get SoftEther working is to set it up as a "Custom VPN"
the command line tool will allow you to connect to your pre-defined connections.
In SoftEther VPN Client Manager, "Add VPN Connection" fill out all the data and test your connections.
In RDM create a Custom VPN Session
HOST: localhost
Executable: C:\Program Files\SoftEther VPN Client\vpncmd.exe
Opening Arguments: /CLIENT localhost /CMD AccountConnect <SOME_VPN_CONNECTION_NAME>
Closing Arguments: /CLIENT localhost /CMD AccountDisconnect <SOME_VPN_CONNECTION_NAME>
Wait Interval: 10 sec
That should get you running.
Based on your configs your command will look like this:
to Connect:
C:\Program Files\SoftEther VPN Client\vpncmd.exe /CLIENT localhost /CMD AccountConnect Unitron
to DisConnect:
C:\Program Files\SoftEther VPN Client\vpncmd.exe /CLIENT localhost /CMD AccountDisconnect Unitron
Thomas