Skip to contentSkip to conversation

OpenVPN Service Windows 8

Openvpn-devel Ryan O'Connor 3 participants 6 messages Mar 19, 2015 – Mar 20, 2015

lore
Share & tools
lore
#0 lore raw

I have been using OpenVPN Service to run my clients vpn connections on Windows 8 and have noticed that they never starts automatically even though its set to.

I have found that to fix this you need to go into services.msc and in OpenVPN Service you need to go to the Log On tab and change the Local System account to Allow service to interact with desktop. Is this expected behaviour or only new because of Win 8/10

Thanks,

Ryan

#1 lore raw
Quoted 6 lines

I have been using OpenVPN Service to run my clients vpn connections on Windows 8 and have noticed that they never starts automatically even though its set to.

I have found that to fix this you need to go into services.msc and in OpenVPN Service you need to go to the Log On tab and change the Local System account to Allow service to interact with desktop. Is this expected behaviour or only new because of Win 8/10

Hi,

Afaict this problem does not occur on Windows 7 and earlier.

Samuli

#2 lore raw

Unless other changes have been made to the windows service, I'd recommend not using it at all. There are error conditions under which it just hangs and blocks openvpn.exe from working

We moved to using nssm - we set it to auto-restart on error and now openvpn as a Windows service is as reliable as openvpn as a Unix service

Jason

Signature · 6 lines
Cheers

Jason Haar
Corporate Information Security Manager, Trimble Navigation Ltd.
Phone: +1 408 481 8171
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1
#3 lore raw
Quoted 10 lines

Unless other changes have been made to the windows service, I'd recommend not using it at all. There are error conditions under which it just hangs and blocks openvpn.exe from working

We moved to using nssm - we set it to auto-restart on error and now openvpn as a Windows service is as reliable as openvpn as a Unix service

Jason

Hi Jason,

I have probably mentioned this elsewhere, but I've been playing with the idea of moving to nssm.exe also in the official installers. NSSM is an open source project and the code is in the public domain, so I don't see anything preventing us from doing this.

Any opinions?

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
#4 lore raw
In reply to Jason Haar

Hmm Interesting idea.

I will grab a copy of NSSM and give it a try.

So does it need to be constantly running on the client machine or is it just a service installer that you setup the service and its parameters (im guessing what .ovpn connection to run) and it will install it?

Thanks for the recommendation!

Ryan

-----Original Message-----
From: Jason Haar [mailto:[email protected]...]
Sent: 19 March 2015 21:57
To: [email protected]
Subject: Re: [Openvpn-devel] OpenVPN Service Windows 8

Unless other changes have been made to the windows service, I'd recommend not using it at all. There are error conditions under which it just hangs and blocks openvpn.exe from working

We moved to using nssm - we set it to auto-restart on error and now openvpn as a Windows service is as reliable as openvpn as a Unix service

Jason

--
Cheers

Jason Haar
Corporate Information Security Manager, Trimble Navigation Ltd.
Phone: +1 408 481 8171
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#5 lore raw

Hi,

If you search the archives of this list (or possibly openvpn-users), you will find an earlier mail from Jason Haar which had instructions on how to configuring OpenVPN to run inside nssm.exe.

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
Quoted 48 lines

Hmm Interesting idea.

I will grab a copy of NSSM and give it a try.

So does it need to be constantly running on the client machine or is it just a service installer that you setup the service and its parameters (im guessing what .ovpn connection to run) and it will install it?

Thanks for the recommendation!

Ryan

-----Original Message-----
From: Jason Haar [mailto:[email protected]...]
Sent: 19 March 2015 21:57
To: [email protected]
Subject: Re: [Openvpn-devel] OpenVPN Service Windows 8

Unless other changes have been made to the windows service, I'd recommend not using it at all. There are error conditions under which it just hangs and blocks openvpn.exe from working

We moved to using nssm - we set it to auto-restart on error and now openvpn as a Windows service is as reliable as openvpn as a Unix service

Jason

--
Cheers

Jason Haar
Corporate Information Security Manager, Trimble Navigation Ltd.
Phone: +1 408 481 8171
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel