Rewrite of OpenVPNServ.exe
A message that is not in the archive (sent off-list or not yet received): [email protected]...
Hi,
I have rewritten openvpnserv.exe in C# to support auto-restart on termination and to support suspend/resume.
I hope this fixes bug #595 and #71 but it needs testing.
The source code is hosted at https://github.com/xkjyeah/openvpnserv2
A binary is also available in the repository and you **might** be able to drag-and-drop it into \openvpn\bin for it to just work.
The rationale for this project is to maintain compatibility with the current version as much as possible (e.g. retaining .ovpn config files) without resorting to NSSM, the configuration of which has eluded me.
I welcome your comments and suggestions for improvement.
Regards,
Daniel Sim
Hi,
Quoted 2 lines · Daniel Sim
I have rewritten openvpnserv.exe in C# to support auto-restart on termination and to support suspend/resume.
Can you cross-build C# binaries? If yes, what do you need?
gert
Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]...
fax: +49-89-35655025 [email protected]...Yes you can!
The package can be compiled using Mono once you have the correct libraries installed:
Building on Linux
This package can be built under Linux.
On Ubuntu 14.04, you need the following packages and their dependencies:
- mono-xbuild
- libmono-microsoft-build-tasks-v4.0-4.0-cil
- libmono-system-serviceprocess4.0-cil
- libmono-system-management4.0-cil
A simple xbuild /p:Configuration=Release /p:Platform=AnyCPU OpenVPNService.sln should be sufficient to generate the binaries.
Quoted 18 lines · Gert Doering
Hi,
Quoted 2 lines · Daniel Sim
I have rewritten openvpnserv.exe in C# to support auto-restart on termination and to support suspend/resume.
Can you cross-build C# binaries? If yes, what do you need?
gert
--
USENET is *not* the non-clickable part of WWW!//www.muc.de/~gert/
Gert Doering - Munich, Germany
[email protected]...
fax: +49-89-35655025
[email protected]...
Quoted 8 lines
Hi,
Quoted 2 lines · Daniel Sim
I have rewritten openvpnserv.exe in C# to support auto-restart on termination and to support suspend/resume.
Can you cross-build C# binaries? If yes, what do you need?
The "ovpnsvcsetup" (NSSM wrapper) I started writing is/was developed on Linux using MonoDevelop. I only needed Windows to test the resulting executable. Basically C# executables will work on any platform that has a .NET runtime environment, including Linux if it has Mono installed. This is quite similar to how Java works.
In this particular case the code is tightly coupled with Windows for other reasons, even though in theory the code would run on Linux+Mono.
Signature · 5 lines
Samuli Seppänen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock