Page 1 of 1

Costum GUI

Posted: Sun Sep 27, 2020 1:30 pm
by nido5
As a side project I gave myself the challenge to create a custom GUI for our department. Since we are using windows I decided to do it in c# .NET.
So far I have managed to connect to the VPN through starting the openvpn.exe process from my app.

The problem I have encountered is the following:
-the openvpn.exe requests admin rights every single time the process is started, which is a no-go

I tried to solve this by using the "openvpn-gui.exe --connect ". But the problem here is that the openvpn-gui icon still appears in the taskbar.

After some googling I have found the "openVPN interactive service" which is designed to resolve this exact problem. Unfortunately I am not able to figure out how to make it run the openvpn.exe for me. Source: https://community.openvpn.net/openvpn/w ... iveService
As far as I understand, I send the commands to the interactive service through a "PIPE" which is a text file. I was neither able to find the default pipe nor have an idea how to establish a connection to it.

Does anyone have any experience with this or an example project?

Re: Costum GUI

Posted: Sun Sep 27, 2020 1:46 pm
by TinCanTech

Re: Costum GUI

Posted: Sun Sep 27, 2020 3:23 pm
by nido5
That doesn't help out much since it is the same information as in the OP.