Help Center
Choose product document...
Veeam PN 1.0 BETA
User Guide

How to Set Up VPN from Endpoints to Local Site

You can use Veeam PN to set up a VPN connection from remote user machines to application and services on a local company site. This scenario can be helpful if some of your users are working remotely, for example, travelling, and still need to use company resources. In this case, you can provide separate users with remote access to the company site over the VPN.

Reference Environment

This how-to assumes that your company environment is configured in the following way:

  • Local company site: your applications and services are hosted on a local company site.
  • Remote users: users who need to gain access to the local company site are working remotely.

In this scenario, you will deploy Veeam PN components in the following way:

  • The network hub will be deployed on the local company site.
  • You will configure VPN settings on user machines with the help of OpenVPN.

Whenever users need to access resources on the local company site, they will establish a VPN connection to the network hub, that, in its turn, will route requests to machines on the local company site.

How to Set Up VPN from Endpoints to Local Site 

Prerequisites

To follow instructions of this how-to, check the following prerequisite:

You must have a VMware vSphere host on the local company site. The network hub is deployed as a virtual appliance and placed on a VMware vSphere host.

Step-By-Step Walkthrough

To set up a VPN connection from user machines to the local company site, you will:

  1. Deploy the network hub on the local company site.
  2. Register clients for user machines in the Veeam PN portal.
  3. Configure OpenVPN on user machines.
  4. Establish a VPN connection from user machines to the network hub on the local company site.

Step 1. Deploy Network Hub in Local Company Site

The network hub is the core of the VPN infrastructure. If you want to set up a VPN connection from user machines to company resources, you must deploy the network hub on the local company site.

  1. Download the Veeam PN OVA package from: https://www.veeam.com/downloads.html and save it in a network shared folder.
  2. In VMware vSphere Web Client, open the hosts and clusters inventory list and select a host on which you want to place the network hub.
  3. From the menu at the top of the working area, select Actions > Deploy OVF Template.
  4. At the Select source step of the wizard, select Local file, click Browse and browse to the Veeam PN OVA package.

How to Set Up VPN from Endpoints to Local Site 

  1. Follow the next steps of the wizard and specify network hub deployment settings: datastore on which the network hub disk must be placed, disk format, network to which the network hub must be connected and so on.
  2. At the last step of the wizard, select the Power on after deployment check box and click Finish.

VMware vSphere will deploy the network hub on the selected host. The deployment process typically takes several minutes. Wait for this process to complete and proceed to network hub configuration.

 How to Set Up VPN from Endpoints to Local Site

  1. In VMware vSphere Web Client, navigate to the Summary tab and get an IP address of the network hub.
  2. In a web browser, access the network hub portal by the following address: https://<networkhubIP>.

The browser will display a warning notifying that the connection is untrusted. Ignore the warning and agree to proceed to the portal.

  1. At the Welcome to Veeam PN screen of the portal, log in to the network hub portal using credentials of the built-in account:
  • Username: root
  • Password: VeeamPN
  1. Click Login
  2. When prompted, change the password for the built-in account.

 How to Set Up VPN from Endpoints to Local Site

  1. At the first step of the Initial Configuration wizard, select Network hub and click Next.

 How to Set Up VPN from Endpoints to Local Site

  1. Specify parameters for a self-signed certificate that Veeam PN will use to secure communication in the VPN: company details, certificate lifetime (validity) and certificate key length (dhBits) and click Next.

 How to Set Up VPN from Endpoints to Local Site

  1. After the certificate is generated, click OK, then click Next to proceed to network hub configuration.
  2. In the Network hub public IP or DNS name field, specify an IP address or full DNS name for the network hub. The IP address or DNS name must be public and accessible from remote user machines.
  3. Select the Enable point-to-site VPN check box. In the Protocol and Port fields, leave default settings.

 How to Set Up VPN from Endpoints to Local Site

  1. Click Finish.

Step 2. Register Clients for User Machines

To provide users with access to company resources, you must register clients for these users in the Veeam PN portal. Veeam PN will generate configuration files for users. You will use these configuration files to set up a VPN connection on user machines.

  1. In the Veeam PN portal, in the configuration menu on the left click Clients.
  2. At the top of the clients list, click Add.
  3. At the Type step of the wizard, select Standalone computer.

How to Set Up VPN from Endpoints to Local Site 

  1. At the Client step of the wizard, enter a name for the user machine.

How to Set Up VPN from Endpoints to Local Site 

  1. At the Summary step of the wizard, click Finish.

Veeam PN will generate an XML file with VPN settings for the user. The XML file will be automatically downloaded to the default downloads folder. Save the downloaded file in a network shared folder accessible from the user machine.

  1. Repeat steps 1-5 for all users to whom you want to provide access.

Step 3. Configure OpenVPN on User Machines

To let a user access company resources, you must configure VPN settings on the user machine. To do this, you must use OpenVPN software and configuration file generated by Veeam PN.

To configure OpenVPN on user machines:

  1. Download the OpenVPN setup file for the user machine OS from: https://openvpn.net/index.php/open-source/downloads.html.
  2. Run the OpenVPN setup file and install the product with default installation settings.

 How to Set Up VPN from Endpoints to Local Site

  1. Place the client configuration file generated by Veeam PN in a folder where OpenVPN configuration files are stored: C:\Program Files\OpenVPN\config.
  2. Repeat steps 1-3 for all users to whom you want to provide access.

Step 4. Establish VPN connection from User Machines to Microsoft Azure

To establish a VPN connection from user machines to the local company site:

  1. On a user machine, create a batch file with the following command:

    "openvpn-gui.exe" -- connect "C:\Program Files\OpenVPN\config\client.ovpn"

where C:\Program Files\OpenVPN\bin\openvpn-gui.exe is a path to the OpenVPN product folder and C:\Program Files\OpenVPN\config\client.ovpn is a path to the user machine configuration file.

  1. Run the batch file. Veeam PN will establish a connection from the user machine to the network hub.
  2. Repeat steps 1-2 for all users to whom you want to provide access.

Result

You have set up a VPN connection from user machines to the local company site. Machines running on the local company site are now accessible to users working remotely.

Veeam Large Logo

User Guide