Hi,
I integrated openvpnserv2 to the NSI installer today. A test installer
is available here:
<http://build.openvpn.net/downloads/snapshots/openvpn-install-2.3_git-I903-x86_64.exe>
This installer bundles two service binaries, openvpnserv.exe and
openvpnserv2.exe. These binaries register three different system services:
1) OpenVPNService ("OpenVPN Service")
This service comes from openvpnserv2.exe. Its "startupmode" is set to
"manual", so that VPN connections do not suddenly start launching behind
the user's back.
Previously "OpenVPNService" name was registered by the "automatic" part
of openvpnserv.exe. The old name was retained here to make upgrades as
smooth as possible, and to encourage people to actually use the new (and
better) service.
2) OpenVPNServiceInteractive ("OpenVPN Interactive Service")
This service is registered by openvpnserv.exe. This part is still very
useful, as it allows OpenVPN GUI to be used without admin privileges.
Right now this service has "startupmode" hardcoded to "automatic" in
src/openvpnserv/interactive.c.
3) OpenVPNServiceLegacy ("OpenVPN Legacy Service")
For the time being the old OpenVPN service wrapper will be available as
a fallback. Based on issues people have been having with it it will not
be sorely missed. The "startupmode" for this is set to "manual".
---
The installer linked to above implement all of the above. However, these
three changes are required for things to work properly:
<https://github.com/OpenVPN/openvpn-build/pull/23>
<https://github.com/xkjyeah/openvpnserv2/pull/7>
<https://github.com/OpenVPN/openvpn/pull/57>
The only thing missing is launching the "Interactive Service" at install
time, and adding a checkbox "Enable Interactive Service" to the
installer, as agreed upon in this email thread:
<http://thread.gmane.org/gmane.network.openvpn.devel/12010/>
Let me know if you have any comments regarding these changes.
--
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc
irc freenode net: mattock