Message-ID: <9e0cf0bf0810120211u2c8ec01ejde17ee36e5483872@...278...> Date: Sun, 12 Oct 2008 11:11:54 +0200 From: "Alon Bar-Lev" In-Reply-To: <48F1AE4F.3040305@...1135...> MIME-Version: 1.0 References: <48F11865.5080903@...1135...> <9e0cf0bf0810111522nc8062afl7e727f9d871875ec@...278...> <48F1AE4F.3040305@...1135...> Subject: Re: [Openvpn-devel] Alternative GUI for OpenVPN List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline To: Jochen Wierum Cc: openvpn-devel@lists.sourceforge.net 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 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 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 > >