Hi,
Thanks for the thoughts - and they do align with my understanding as well. But
it is failing unfortunately - only if the GUI is run as non-admin. Log for this
case is below, from Windows of course (as it shows). Suggestions?
Thu Jun 28 11:46:35 2018 TAP-WIN32 device [OpenVPN] opened:
\\.\Global\{7D008A8F-BEC3-4196-9CCE-C8970FB55962}.tap
Thu Jun 28 11:46:36 2018 NETSH: C:\WINDOWS\system32\netsh.exe interface ip set
address OpenVPN dhcp
Thu Jun 28 11:46:36 2018 ERROR: netsh command failed: returned error code 1
Thu Jun 28 11:46:41 2018 NETSH: C:\WINDOWS\system32\netsh.exe interface ip set
address OpenVPN dhcp
Thu Jun 28 11:46:41 2018 ERROR: netsh command failed: returned error code 1
Thu Jun 28 11:46:46 2018 NETSH: C:\WINDOWS\system32\netsh.exe interface ip set
address OpenVPN dhcp
Thu Jun 28 11:46:47 2018 ERROR: netsh command failed: returned error code 1
Thu Jun 28 11:46:52 2018 NETSH: C:\WINDOWS\system32\netsh.exe interface ip set
address OpenVPN dhcp
Thu Jun 28 11:46:52 2018 ERROR: netsh command failed: returned error code 1
Thu Jun 28 11:46:56 2018 NETSH: command failed
Thu Jun 28 11:46:56 2018 Exiting due to fatal error
And I did confirm, as you note,
PS C:\> Get-Service OpenVPNServiceInteractive
Status Name DisplayName
------ ---- -----------
Running OpenVPNServiceI... OpenVPN Interactive Service
Thanks again,
... Russell
PS, good to hear from you again Selva. And yes, it has been a while ... š. Hope
all is well!
-----Original Message-----
From: Samuli SeppƤnen [mailto:[email protected]]
Sent: Thursday, June 28, 2018 2:53 AM
To: Gert Doering <[email protected]>; Morris, Russell <[email protected]>
Cc: [email protected]
Subject: Re: [Openvpn-devel] OpenVPN GUI, and routes
Il 28/06/2018 09:57, Gert Doering ha scritto:
> HI,
>
> On Thu, Jun 28, 2018 at 12:54:23AM +0000, Morris, Russell wrote:
>> This may be by design ??? if so just say that and I???ll go away ??? ????.
>> But that said ??? it seems I have to run the OpenVPN GUI (manually) as an
>> administrator, for routes to be set / added as directed by the server. Is
>> this expected? Unfortunately it won???t even allow the client to connect if
>> this step fails.
>
> With 2.4.x, the GUI is supposed to run with normal user privs. Route
> handling is done by the "OpenVPN Interactive Service", which needs to
> be running.
>
> If you install the normal installer provided by us, everything will be
> set up so it just works.
>
> If not, provide platform details, logs, etc.
>
The Windows service name is "OpenVPNServiceInteractive". You can check its
status from Powershell:
Get-Service OpenVPNServiceInteractive
To start it:
Start-Service OpenVPNServiceInteractive
That said, it _should_ be running already if you installed OpenVPN 2.4.x using
our standard installers.
--
Samuli SeppƤnen
Community Manager
OpenVPN Technologies, Inc
irc freenode net: mattock
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel