On Tue, 21 Sep 2021 10:37:10 -0400, Selva Nair <selva.n...@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

I looked in the documentation and found this among "supported cmds":

silent_connection 0 | 1

I want to use it to stop the connection dialog from being displayed while the
connect process runs:

So I tried to add the command into the openvpn-gui argument list when starting a
connection programatically (all on one line):

C:\Programs\OpenVPN\bin\openvpn.exe --command silent_connection 1  --command
connect SSRClient001-tun

But this causes an error so I figured it was like the previous case that it
should go into the ovpn configuration file, but that too causes an error.

How can I use this feature for blocking the pop-up window from appearing during
the connection phase?

It should affect only the current connection command so I am not looking for a
global setting.


-- 
Bo Berglund
Developer in Sweden



_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to