Difference between revisions of "OpenVPN/HowTo for Windows"

From Secure Computing Wiki
Jump to: navigation, search
(removed dead/incorrect URL to another site.)
(Undo revision 1616 by Exyhypele (talk))
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Based on the HowTo from darkness ''dead_url'' I will upload a prepared package.<br />
+
== Prebuild OpenVPN 2.1.1 Package ==
Then you only have to install NSIS and can progess to your own custom OpenVPN 2.1.1 installer.<br />
+
Tested with Win XP and Win7 32/64, think Vista will work.<br />
Starting on monday 01 march 2010.
+
<br />
 +
Download and install NSIS 2.46<br />
 +
Download and install 7zip<br />
 +
Download and unzip openvpn-2.1.1._prebuild4noinc.7z [[File:openvpn-2.1.1._prebuild4noinc.7z]]<br />
 +
<br />
 +
Jump into the extracted openvpn-2.1.1 folder.<br />
 +
I have moved the compiled binary's from the community OpenVPN 2.1.1 project and put a selfcompiled openvpn.exe with the enabled option '--enable-password-save' into bin.<br />
 +
OpenVPN now can read username / password from file.<br />
 +
<br />
 +
Edit your config and certificate in config<br />
 +
<br />
 +
Edit the install README and License in text<br />
 +
<br />
 +
Jump into install-WIN32 and edit the openvpn.nsi if you want to rename some configs, howto or binary's.
 +
Search for the 'noinc' strings.<br />
 +
<br />
 +
If you made no mistakes you can compile the install-win32\openvpn.nsi with a right click of your mouse on it and choose 'compile NSIS Script'. You will find your install.exe in the rootdir of openvpn-2.1.1 .<br />
 +
<br />
 +
Regards, Eike Lohmann<br />
 +
 
 +
----------------------
 +
I cleaned up the above descriptions and corrected the directory name which is created when extracting openvpn from the listed file.<BR><BR>
 +
To do this on Linux is exactly the same, except for the types of slashes in the file names. <BR><BR>
 +
I would suggest that you edit the openvpn.nsi file and remove the lines which reference the 'noinc' strings to avoid any problems with unusable configs being included and installed.
 +
 
 +
 
 +
Jonathan Bayer

Latest revision as of 20:01, 24 November 2010

Prebuild OpenVPN 2.1.1 Package

Tested with Win XP and Win7 32/64, think Vista will work.

Download and install NSIS 2.46
Download and install 7zip
Download and unzip openvpn-2.1.1._prebuild4noinc.7z File:Openvpn-2.1.1. prebuild4noinc.7z

Jump into the extracted openvpn-2.1.1 folder.
I have moved the compiled binary's from the community OpenVPN 2.1.1 project and put a selfcompiled openvpn.exe with the enabled option '--enable-password-save' into bin.
OpenVPN now can read username / password from file.

Edit your config and certificate in config

Edit the install README and License in text

Jump into install-WIN32 and edit the openvpn.nsi if you want to rename some configs, howto or binary's. Search for the 'noinc' strings.

If you made no mistakes you can compile the install-win32\openvpn.nsi with a right click of your mouse on it and choose 'compile NSIS Script'. You will find your install.exe in the rootdir of openvpn-2.1.1 .

Regards, Eike Lohmann


I cleaned up the above descriptions and corrected the directory name which is created when extracting openvpn from the listed file.

To do this on Linux is exactly the same, except for the types of slashes in the file names.

I would suggest that you edit the openvpn.nsi file and remove the lines which reference the 'noinc' strings to avoid any problems with unusable configs being included and installed.


Jonathan Bayer