Message-ID: <57BD64D9.8010607@...1147...> Date: Wed, 24 Aug 2016 11:11:53 +0200 From: Jan Just Keijser MIME-Version: 1.0 References: <57A3C76A.1020809@...277...> <76eb908d-b7b3-7425-5340-e4cd5726fbd1@...2080...> <3642cff2-6233-0a28-2a39-36513f008ab4@...277...> <20160823123439.GA78279@...1296...> <57BD5780.2030204@...1147...> In-Reply-To: Subject: Re: [Openvpn-devel] Win10 Tun Server +Standard W10 User +OVPN Interactive Service +OVPN GUI List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: quoted-printable To: =?windows-1252?Q?Samuli_Sepp=E4nen?= , Gert Doering Cc: openvpn-devel@lists.sourceforge.net Hi, On 24/08/16 10:45, Samuli Sepp=E4nen wrote: > Il 24/08/2016 11:14, Jan Just Keijser ha scritto: >> Hi, >> >> On 23/08/16 14:34, Gert Doering wrote: >>> On Tue, Aug 23, 2016 at 01:55:23AM +0100, debbie10t wrote: >>>> I need to use --up/--down/--client-connect/disconnect et al .. >>> You can, but they will run with the user privileges of the user that >>> runs openvpn-gui by default. If you need more privileges, you need >>> to run openvpn.exe or the gui with admin privs. >>> >>>> How does one run openvpn on *windows* without these "considered" >>>> security flaws ? or are we all just "lambs to the slaughter" >>>> from here on in ? >>> You can use openvpnserv2 to run openvpn.exe with admin privs (and no >>> gui), or you can set [x] run as admin on the openvpn-gui (as it was=20 >>> done >>> for 2.3.x). >>> >>> Most people on windows only need privileges to add/delete routes and >>> configure IP addresses - this is what the iservice will give you,=20 >>> without >>> the potential dangers of running openvpn and all scripts with full >>> admin privs. >>> >> just for my understanding: how would a user run an up/down script with >> *USER* credentials (necessary to map a share or printer, for example) in >> this scenario? > > You mean when running OpenVPN-GUI as admin, but wanting the map a=20 > share as a non-privileged user? > Actually, how would a (clueless) user do this at all, using the=20 interactive service? which part should be run with admin privs, which=20 part shouldn't ? which credentials are available to the interactive=20 service (and any up/down scripts it may run) ? should a user use a GUI=20 up/down script (I know the old GUI supported this) instead? JJK