On Wed, Sep 22, 2021 at 9:18 AM Bo Berglund <bo.bergl...@gmail.com> wrote:
> 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 > With no GUI running, try openvpn.exe --silent_connection 1 --connect SSRClient001-tun The purpose of --command is sto send commands to a running instance of the GUI. And, only one --command is allowed at a time. You can also go to the settings menu of the GUI, set silent connection to on. It will be remembered when you start the GUI next time from the command line. Selva
_______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users