Hello, I am creating a GUI for OpenVPN using Qt Creator. Currently, I am focussing on Windows platform. I am trying out this: I have installed the ovpnagent.exe across the system. Now I am starting the ovpncliagent.exe as a QProcess from the gui, giving it the required arguments as username, password and the .ovpn config file. It gets connected and works well, but I face issue while disconnecting it. On Windows, the agent takes F4 from the console window for stopping the connection. But such an input is not possible for the QProcess.
Should I use the omicli.exe? If yes, what is the right way of using it for the gui application?
Or is there another, more elegant way of controlling the openvpn through the gui ?
Hello, I am creating a GUI for OpenVPN using Qt Creator. Currently, I am focussing on Windows platform. I am trying out this: I have installed the ovpnagent.exe across the system. Now I am starting the ovpncliagent.exe as a QProcess from the gui, giving it the required arguments as username, password and the .ovpn config file. It gets connected and works well, but I face issue while disconnecting it. On Windows, the agent takes F4 from the console window for stopping the connection. But such an input is not possible for the QProcess.
Should I use the omicli.exe? If yes, what is the right way of using it for the gui application?
Or is there another, more elegant way of controlling the openvpn through the gui ?