Page 1 of 1

openvpn exe instantly close in openvpn custom ui

Posted: Sun Feb 20, 2022 8:34 am
by vatos96
Hi everyone,

i don't know if this is the right place to start my thread.

So basically i created a custom ui with C# using openvpn.exe

It choose a config and connects it with the connect button to the .opvn file.

Im using process start with openvpn.exe

it have worked nicely for the first 1-10 times but now when i click on connect all it does is it open the console and immediatly, i have tried to put a log but its empty so means it is doing nothing. I am trying to figure out why it stopped working as i didnt put anything else in the code. I created a new user and there the same file opens and works but also after 10 times using it, it just opens and close immediatly.

Anyone know what is going on here? i am trying to fix this error for the last 2 weeks and i can't figure it out.

Thanks in advance!