Differences between revisions 3 and 20 (spanning 17 versions)
Revision 3 as of 2006-05-19 05:17:40
Size: 670
Editor: rowlf
Comment:
Revision 20 as of 2006-05-19 06:27:55
Size: 1863
Editor: rowlf
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Rolling out Windows OpenVPN clients. = Rolling out Windows OpenVPN clients =
This guide is based on [http://openvpn.se/files/howto/openvpn-howto_roll_your_own_installation_package-Rev1.1.html HowTo Roll Your Own OpenVPN Windows Installation Package].
Line 3: Line 4:
This guide is based on [http://openvpn.se/files/howto/openvpn-howto_roll_your_own_installation_package-Rev1.1.html HowTo Roll Your Own OpenVPN Windows Installation Package]. The Windows build machine must have [http://nsis.sourceforge.net/Download The Nullsoft Scriptable Install System] installed. Next obtain the [http://www.openvpn.se/files/install_packages_source/ 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 [http://www.openvpn.se/files/install_packages_source/openvpn_install_source-2.0.7-gui-1.0.3.zip OpenVPN GUI install source 2.0.7]. In theory all 2.0.x releases should be compatible with each other.
Line 5: Line 6:
Extract openvpn_install_source-2.0.7-gui-1.0.3.zip and open the newly created folder.
Line 6: Line 8:
The Windows build machine must have [http://nsis.sourceforge.net/Download The Nullsoft Scriptable Install System] installed. Next obtain the same 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. attachment:install_source_folder.png

In the {{{openvpn\config}}} folder place the generated {{{key}}} and {{{config.ovpn}}} files the ["OpenVPN"] document.

attachment:config_folder.png

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 line
}}}

Finally the {{{openvpn-gui.nsi}}} file needs to compile and build an installable executable. Right click on {{{openvpn-gui.nsi}}} and select Compile NSIS Script.

attachment:compile_nsis.png

attachment:makensisw.png

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}}}.

Rolling out Windows OpenVPN clients

This guide is based on [http://openvpn.se/files/howto/openvpn-howto_roll_your_own_installation_package-Rev1.1.html HowTo Roll Your Own OpenVPN Windows Installation Package].

The Windows build machine must have [http://nsis.sourceforge.net/Download The Nullsoft Scriptable Install System] installed. Next obtain the [http://www.openvpn.se/files/install_packages_source/ 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 [http://www.openvpn.se/files/install_packages_source/openvpn_install_source-2.0.7-gui-1.0.3.zip 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.

attachment:install_source_folder.png

In the openvpn\config folder place the generated key and config.ovpn files the ["OpenVPN"] document.

attachment:config_folder.png

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 line

Finally the openvpn-gui.nsi file needs to compile and build an installable executable. Right click on openvpn-gui.nsi and select Compile NSIS Script.

attachment:compile_nsis.png

attachment:makensisw.png

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.

OpenVPNRollOut (last edited 2013-09-18 06:09:34 by localhost)