Difference between revisions of "OpenVPN server on Windows"
PauliusRug (talk | contribs) |
|||
(50 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
==Introduction== | ==Introduction== | ||
− | + | '''OpenVPN''' is an open-source software application that implements virtual private network (VPN) techniques for creating secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities. | |
This article contains step-by-step instructions on how to create and run an OpenVPN server on a PC that runs on Windows OS. The information provided here is geared towards users of almost any knowledge level. The instructions apply to Windows 7 and newer systems. | This article contains step-by-step instructions on how to create and run an OpenVPN server on a PC that runs on Windows OS. The information provided here is geared towards users of almost any knowledge level. The instructions apply to Windows 7 and newer systems. | ||
Line 10: | Line 10: | ||
'''Prerequisites''': | '''Prerequisites''': | ||
− | + | * A PC or Laptop running on Windows 7 or a later version | |
− | *A PC or Laptop running on Windows 7 or a later version | + | * The PC in question must have a '''[[Private_and_Public_IP_Addresses#Public_IP_address|Public IP address]]''' |
− | *The | + | * An active Internet connection |
− | * | ||
− | |||
---- | ---- | ||
'''Objective''': | '''Objective''': | ||
Line 20: | Line 18: | ||
The purpose of this article is to provide the know-how needed to configure a working OpenVPN server on a Windows PC. | The purpose of this article is to provide the know-how needed to configure a working OpenVPN server on a Windows PC. | ||
− | + | ==Step 1: installing OpenVPN software== | |
− | |||
− | |||
− | |||
− | ==Step | ||
− | + | * The first thing that we'll to do is to install the necessary software needed in order to run an OpenVPN server. You can download the OpenVPN installer file from '''[https://openvpn.net/index.php/open-source/downloads.html here]'''. <br> Simply run the downloaded file and follow the instructions of the installation guide. | |
− | |||
− | |||
− | |||
− | |||
− | |||
---- | ---- | ||
− | + | * '''Important note''': at one point before the installation process, you will be prompted to select which components should be included in the installation. Make sure to select '''EasyRSA''' as it will be needed later on to generate keys and certificates. You can leave the rest as defaults: | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | [[File:Openvpn windows server setup step 1 openvpn installation part 1.png]] | |
− | |||
− | |||
− | == | + | ==Step 2: generating TLS certificates and keys== |
− | * | + | * |
− | |||
− | |||
− |
Revision as of 16:10, 14 September 2018
Main Page > General Information > Configuration Examples > PC > Windows > OpenVPN server on WindowsIntroduction
OpenVPN is an open-source software application that implements virtual private network (VPN) techniques for creating secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities.
This article contains step-by-step instructions on how to create and run an OpenVPN server on a PC that runs on Windows OS. The information provided here is geared towards users of almost any knowledge level. The instructions apply to Windows 7 and newer systems.
Configuration overview and prerequisites
Before we begin, let's overview the configuration that we are attempting to achieve and the prerequisites that make it possible.
Prerequisites:
- A PC or Laptop running on Windows 7 or a later version
- The PC in question must have a Public IP address
- An active Internet connection
Objective:
The purpose of this article is to provide the know-how needed to configure a working OpenVPN server on a Windows PC.
Step 1: installing OpenVPN software
- The first thing that we'll to do is to install the necessary software needed in order to run an OpenVPN server. You can download the OpenVPN installer file from here.
Simply run the downloaded file and follow the instructions of the installation guide.
- Important note: at one point before the installation process, you will be prompted to select which components should be included in the installation. Make sure to select EasyRSA as it will be needed later on to generate keys and certificates. You can leave the rest as defaults: