Commit 3b97b9

2025-04-22 12:06:26 Samuli Seppänen: Update information in the Windows guide
Pages/Easy Windows Guide.md ..
@@ 4,11 4,33 @@
## Downloading and Installing OpenVPN
+ ### Installing manually
+
1. Download the installer from [here](https://openvpn.net/index.php/open-source/downloads.html) and run it on the server computer. During the setup, make sure to check mark the component named "EasyRSA 2 Certificate Management Scripts".
2. Install OpenVPN on each client. (This step can be skipped for now and done at any convenient time)
+ ### Installing with Chocolatey
+
+ [Chocolatey](https://chocolatey.org/) is a package manager for Windows. To install Chocolatey follow the official setup instructions which at the time of writing this (April 2025) are:
+
+ ```
+ Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
+ ```
+
+ To install latest (stable) OpenVPN on Windows:
+
+ ```
+ choco install --force -y openvpn --package-parameters="/Gui /GuiOnLogon /Service /TapDriver /DcoDriver /Documentation /OpenSSL /SampleConfig"
+ ```
+
+ You can omit the --package-parameters option if you are fine with the defaults as most would be.
+
## Certificates and Keys
+ You can generate a certificate authority (CA) for OpenVPN with [easy-rsa 3](https://github.com/OpenVPN/easy-rsa). The instructions below refer to the easy-rsa 2 ([here](https://github.com/OpenVPN/easy-rsa-old)), which has not been in active development in a long time. Therefore the steps given may or may not work on modern Windows systems.
+
+ You can and should, whenever possible, generate the CA on a separate system, not on the OpenVPN server.
+
### Preparatory Steps
1. Navigate to the C:\Program Files\OpenVPN\easy-rsa folder on an elevated command prompt:
@@ 192,12 214,8 @@
```
Start Menu -> All Programs -> OpenVPN -> OpenVPN GUI
```
-
2. Double click the icon which shows up in the system tray to initiate the connection. The resulting dialog should close upon a successful start.
-
- **Note**: The current version of the GUI (as of July 2019) cannot be used to run a server config due to this bug: https://community.openvpn.net/openvpn/ticket/1164
-
- A bug fix is anticipated ...
+ 3. If you have multiple OpenVPN configurations available you can pick which one to use by right-clicking on the system tray icon.
## Further Considerations / Troubleshooting
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9