Rolling out Windows OpenVPN clients
This guide is based on HowTo Roll Your Own OpenVPN Windows Installation Package.
The Windows build machine must have The Nullsoft Scriptable Install System installed. Next obtain the installation source package. If problems persist with differing versions of OpenVPN on the client and server try using the same version as the server on the client. E.g. Server version: 2.0.7, download OpenVPN GUI install source 2.0.7. In theory all 2.0.x releases should be compatible with each other.
Extract openvpn_install_source-2.0.7-gui-1.0.3.zip and open the newly created folder.
In the openvpn\config folder place the generated key and config.ovpn files from the OpenVPN document.
Return back to the root of the openvpn_install_source folder and open openvpn-gui.nsi in an editor.
# Include your custom config file(s) here.
SetOutPath "$INSTDIR\config"
File "${HOME}\config\key" # Add this line
File "${HOME}\config\config.ovpn" # Add this lineFinally the openvpn-gui.nsi file needs to compile and build an installable executable. Right click on openvpn-gui.nsi and select Compile NSIS Script.
If successful a file similarly named to openvpn-2.0.7-gui-1.0.3-install.exe will be generated. For easier management, include the client side IP address in the file name. E.g. openvpn-2.0.7-gui-1.0.3-install-10.3.0.2.exe.
