Costum GUI

How to customize and extend your OpenVPN installation.
Post Reply
nido5
OpenVpn Newbie
Posts: 2
Joined: Sun Sep 27, 2020 12:48 pm

Costum GUI

Post by nido5 » Sun Sep 27, 2020 1:30 pm

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?

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 7944
Joined: Fri Jun 03, 2016 1:17 pm

Re: Costum GUI

Post by TinCanTech » Sun Sep 27, 2020 1:46 pm


nido5
OpenVpn Newbie
Posts: 2
Joined: Sun Sep 27, 2020 12:48 pm

Re: Costum GUI

Post by nido5 » Sun Sep 27, 2020 3:23 pm

That doesn't help out much since it is the same information as in the OP.

Post Reply