You should not do this. You should only use the management interface for all tasks.
Your configuration should contain the following: auth-retry nointeract management-hold management-signal management-query-passwords management-forget-disconnect So that you can stop/start tunnel using signal SIGUSR1, release from hold. Management interface only GUI implementation is missing for Windows. You can take some example from kovpn [1], it is a good starting point. Alon. [1] https://projects.fslab.de/projects/kovpn On 10/12/08, Jochen Wierum <joc...@jowisoftware.de> wrote: > The Problem is that I read STDIN and STDOUT of OpenVPN. To do this, I > have to run my Application at least with the same rights as OpenVPN. > OpenVPN has to run as admin to control the routes and the Tap-Device. So > my application has a problem. > > If somebody knows a solution how to run a program as administrator and > read STDIN and STDOUT without having administrator rights he is welcome :-) > > > Jochen > > > Alon Bar-Lev wrote: > > Great! > > I was expected PKCS#11 enabled GUI for a long time! > > But why does it need administrative rights? > > > > Alon. > > > > On 10/11/08, Jochen Wierum <joc...@jowisoftware.de> wrote: > >> Hi, > >> > >> My name is Jochen Wierum and I'm a student at a university of applied > >> science in Germany. We work with OpenVPN there. Since a few weeks, we > >> also have the option to use SmartCards instead of pkcs12 files. > >> > >> One problem was, that we have laptops which are used by many people with > >> different SmartCards. But the OpenVPN GUI doesn't give the you > >> opportunity to select which SmartCard to use. So I wrote an own small > >> GUI for Windows in C#. It uses the Management Interface to control > >> OpenVPN. It is very simple and not perfect. One Problem is that it > >> requires administrator rights in Vista. > >> > >> It is written in C# 2008 and requires the .NET Framework 2.0. I released > >> it under the GNU GPL v2. > >> > >> Perhaps someone thinks it is useful too. > >> > >> The source can be downloaded at: > >> http://www.jowisoftware.de/openvpnmanager_src.zip > >> > >> The binarys are located at: > >> http://www.jowisoftware.de/openvpnmanager.zip > >> > >> Jochen > >