Menu

Tree [r2] /
 History

HTTPS access


File Date Author Commit
 Res 2010-10-26 valvachaev [r1] commit an initial version
 config 2010-10-26 valvachaev [r1] commit an initial version
 CheckInet.c 2010-10-26 valvachaev [r1] commit an initial version
 CheckInet.h 2010-10-26 valvachaev [r1] commit an initial version
 Common.h 2010-10-26 valvachaev [r1] commit an initial version
 Makefile 2010-10-26 valvachaev [r1] commit an initial version
 OvpnMp.c 2010-10-26 valvachaev [r1] commit an initial version
 OvpnMp.h 2010-10-26 valvachaev [r1] commit an initial version
 ReadMe.txt 2010-10-26 valvachaev [r1] commit an initial version
 Resource.h 2010-10-26 valvachaev [r1] commit an initial version
 VpnControl.c 2010-10-26 valvachaev [r1] commit an initial version
 VpnControl.h 2010-10-26 valvachaev [r1] commit an initial version
 VpnGui.c 2010-10-26 valvachaev [r1] commit an initial version
 VpnGui.h 2010-10-26 valvachaev [r1] commit an initial version
 VpnGui.rc 2010-10-26 valvachaev [r1] commit an initial version
 WinUtils.c 2010-10-26 valvachaev [r1] commit an initial version
 WinUtils.h 2010-10-26 valvachaev [r1] commit an initial version
 license.txt 2010-10-26 valvachaev [r1] commit an initial version
 log.c 2010-10-26 valvachaev [r1] commit an initial version
 log.h 2010-10-26 valvachaev [r1] commit an initial version
 ovpn-gui.ico 2010-10-26 valvachaev [r1] commit an initial version
 ovpnctrl.nsi 2010-10-31 valvachaev [r2] use net command to start service
 vpnwinclient.ppr 2010-10-26 valvachaev [r1] commit an initial version

Read Me

OpenVPN Windows Control is a software tool for controlling secure IP tunnels
that can be created by OpenVPN daemon. It consists of two programs, one of
them (VpnControl)is implemented as Windows service and the second one (VpnGui)
as a GUI application (reason why I use GUI stub is here 
http://msdn.microsoft.com/en-us/library/ms683502%28VS.85%29.aspx).
The service-based program uses OpenVPN Management interface which allows OpenVPN to be
controlled via TCP socket. Notice that now you don't have to be administrator
any longer.

Limitations:
------------------------------------------------------------------------

*  It supports a single connection.

*  It does not support proxy configuration

*  It does not support "static key" authentication mode.


Building OpenVPN Windows Control source
------------------------------------------------------------------------

* Download and install NSIS scriptable installer from
http://nsis.sourceforge.net/Download

* Download and install MinGW and MSYS from http://www.mingw.org/
It can be downloaded and installed easily by using GUI installer 
(mingw-get-inst), see   
http://www.mingw.org/wiki/Getting_Started

* Download and extract the OpenVPN Control source archive.

* Start a bash shell by running msys.bat.

* Run "make" from the OpenVPN Control source directory.

* Compile ovpnctrl.nsi NSIS script to get VPN Control installer.


Installation
------------------------------------------------------------------------
* Before installation make sure you have installed OpenVPN software package.
I use OpenVPN 2.1.3

* Run the installer and choose location for the controlling tool; by
 default it is "C:\Program Files (x86)\OVPN-CTRL".

* When the installation completed successfully, an icon "monitor" should appear
in the system tray in approximately 1 minute.


Using  
------------------------------------------------------------------------

* Create a config-file with your favorite text editor and save it in any
directory. There are two config files in the "config" folder that
I have used during programs testing. Because the tool uses management
protocol, do not forget to add the management directives to the config file.

* To connect/disconnect or set up some connection parameters launch Vpn Control
by clicking "monitor" icon in the system tray. Once parameters are entered
the VPN Control will keep it in the system registry. 

* If you need to establish VPN connection after booting the system, checkmark the
“Connection Mode" box in “Connection Settings” dialog.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.