Skip to main content

OpenVPN CLI Setup Guide for Windows

Updated over a month ago

Step 1

Download your preferred VPN location on this link:

for this guide, we will select a Sweden-based server.

Step 2

Download and install OpenVPN GUI:

*proceed with the default installation options.

Step 3

Launch Command Prompt with administrative privileges.

Step 4

In the Command Prompt, enter this line: cd C:\Program Files\OpenVPN\bin

Step 5

To connect, enter: openvpn.exe --config [path of the configuration file]

Step 6

Enter your PrivateVPN registered email address and Password.

You are connected to the VPN as soon as you see the message: Initialization Sequence Completed.

To disconnect from the VPN, return to Command Prompt and hit Ctrl + C.

Did this answer your question?