Guide

pfSense and OpenVPN: configuration on Windows PC

Objective of this guide:

To connect our Windows PC to the corporate VPN system, we need to download, install and configure the digital certificate of the VPN. This guide shows you how.

Installation of OpenVPN GUI for Microsoft systems

Connect to the sitr https://openvpn.net/community-downloads/ and download the correct version for your operating system.
For convenience, we recommend choosing the .exe, ES version: “openvpn-install-2.4.8-I602-Win7.exe”
Once the file is downloaded, run it and follow the steps below:

VPN Windows

Click Next

VPN Windows

Click I Agree

VPN Windows

Click Next

VPN Windows

Click Install

VPN Windows

Click Next to end

VPN Windows

Remove the tick from Show Redme and press Finish

VPN Windows

To insert the configuration file, there are 3 methods:

  1. Installation for all PC users: This method allows connection via the digital VPN certificate regardless of the user with whom you logged in on the PC.
    Open the path C:Program FilesOpenVPNconfig and copy the contents of the archive inside. Administrator authorization will be required, allow copying for all files in the archive.
  2. User specific installation: This method allows the connection via the digital VPN certificate to the only user with whom the user logged in on the PC.
    Open the path C:UsersusernameOpenVPNconfig and copy the contents of the archive inside.
  3. Directly import the “.ovpn” file, generated as a single file (config + cert + keys). This method allows the connection via the digital VPN certificate to the only user with whom the user logged in on the PC.
    Using “import file” of the OpenVPN Client menu we select the certificate file.

Once the import is complete, start the program, using the following icon that should appear on the desktop, or select it from the programs.

VPN Windows

In some cases the following error message may appear

VPN Windows

Indicating that the program is already running. Give OK to continue.
The following icon will appear in the part close to the time.

VPN Windows

Press the right button on the icon to open the program menu and select Connect.

VPN Windows

Insert username and password and press OK to connect

VPN Windows

There will be some messages indicating the connection is in progress

VPN Windows

If the icon at the bottom right turns green as shown in the figure below, the connection will be established correctly.

VPN Windows
  ti posso interessare anche