Insight and analysis on the information technology space from industry thought leaders.

Simplify Remote Access for Home Labs and Offices with Veeam PN

Veeam PN Version 1 is a lightweight SDN appliance that is completely free to use.

7 Min Read
Veeam

In January, Veeam publicly announced the release of Veeam PN (Powered Network) Version 1, a lightweight SDN appliance that was released completely free to use. And while Veeam PN was released as part of a greater solution focused on extending network availability for Microsoft Azure, Veeam PN can also be deployed as a stand-alone tool via a downloadable OVA. Veeam PN has some key stand-alone use cases we’ll explore in this blog series.

While testing the tool through it’s early dev cycles, it was clear there was an opportunity to allow access with home labs and other home devices, all without having to setup and configure relatively complex VPN or remote access solutions.

There are plenty of existing solutions that do what Veeam PN does. However, the biggest difference when comparing Veeam's VPN functionality with other VPN solutions is that Veeam PN is purpose-built and easy to use, and setup takes only a couple clicks. Veeam PN’s underlying technology is built on OpenVPN, so that in itself provides users with a certain level of familiarity and trust. The other great thing about leveraging OpenVPN is that any Windows, MacOS or Linux client will work with the configuration files generated for point-to-site connectivity.

Home Lab Remote Connectivity Overview

While on the road, users need to easily access home lab/office machines. In my own case, I’m on the road quite a bit and need access without having to rely on published services externally via my entry-level Belkin router. I also don't have a static IP, which has always proved problematic for remote services while on the road. At home, I run a desktop that acts as my primary Windows workstation and also has VMware Workstation installed. I also have a SuperMicro 5028D-TNT4 server that has ESXi installed and runs my nested ESXi lab. I need access to at least RDP into that Windows workstation, but access to the management vCenter, SuperMicro IPMI and other systems running on the 192.168.1.0/24 subnet.

 

VeeamPN01.png 

 

In the above diagram, you can see I also wanted to directly access workloads in the nested ESXi environment, specifically on the 172.17.0.1/24 and 172.17.1.1/24 networks. With the use of the Tunnelblick OpenVPN Client on my MBP, I am able to create a point-to-site connection to the Veeam PN Hub which is in turn connected via site-to-site to each of the subnets I want to connect into.

Deploying and Configuring Veeam PN

As mentioned above, to get started, you will need to download the Veeam PN OVA from Veeam.com. This Veeam KB describes where to get the OVA and how to deploy and configure the appliance for first use. If you don’t have a DHCP enabled subnet to deploy the appliance into, you can configure the network as a static IP by accessing the VM console, logging in with the default credentials, and modifying the/etc/networking/interface file.

Components:

  • Veeam PN Hub Appliance x 1

  • Veeam PN Site Gateway x number of sites/subnets required

  • OpenVPN Client

The OVA is 1.5 GB, and, when deployed, the virtual machine has the base specifications of 1 vCPU, 1 GB of vRAM and a 16 GB of storage; if thin provisioned, this consumes just over 5 GB initially.

Networking requirements:

  • Veeam PN Hub Appliance – Incoming Ports TCP/UDP 1194, 6179 and TCP 443

  • Veeam PN Site Gateway – Outgoing access to at least TCP/UDP 1194

  • OpenVPN Client – Outgoing access to at least TCP/UDP 6179

Note that as part of the initial configuration you can configure the site-to-site and point-to-site protocol and ports, which is handy if you are deploying into a locked-down environment and want to have Veeam PN listen on different port numbers.

VeeamPN02_1.png

  

In my setup, the Veeam PN Hub Appliance has been deployed into Azure, mainly because that’s where I was able to test out the product initially. In theory, it provides a centralized, highly available location for all the site-to-site connections to terminate into. This central hub can be deployed anywhere, and, as long as HTTPS connectivity is configured correctly, you can access the web interface and start to configure your site and standalone clients.

Configuring Site Clients (Site-to-Site)

To complete the configuration of the Veeam PN Site Gateway, you need to register the sites from the Veeam PN Hub Appliance. When you register a client, Veeam PN generates a configuration file that contains VPN connection settings for the client. You must use the configuration file (downloadable as an XML) to set up the Site Gateways. Referencing the diagram at the beginning of the post, I needed to register three separate client configurations as shown below.

VeeamPN03.png

 

VeeamPN04.png 

Once this was completed, I deployed three Veeam PN Site Gateways on my home office infrastructure as shown in the diagram--one for each site or subnet I wanted to have extended through the central hub. I deployed one to my Windows VMware Workstation instance on the 192.168.1.0/24 subnet, and, as shown below, I deployed two Site Gateways into my nested ESXi lab on the 172.17.0.0/24 and 172.17.0.1/24 subnets, respectively.

 VeeamPN05.png

From there I imported the site configuration file into each corresponding Site Gateway that was generated from the central Hub Appliance, and in as little as three clicks on each one, all three networks where joined using site-to-site connectivity to the central hub.

Configuring Remote Vlients (Point-to-Site)

To connect to the home office and home lab when on the road, my final step is to register a stand-alone client from the central Hub Appliance. Again, because Veeam PN is leveraging OpenVPN, what we are producing here is an OVPN configuration file that has all the details required to create the point-to-site connection--noting that there isn’t any requirement to enter in a username and password as Veeam PN is authenticating using SSL authentication.

 VeeamPN06_1.png

For my MBP, I’m using the Tunnelblick OpenVPN Client. I’ve found it to be an excellent client, and, obviously, being OpenVPN, there are a bunch of other clients for pretty much any platform you might be running. Once I imported the OVPN configuration file into the client, I was able to authenticate against the Hub Appliance endpoint as the site-to-site routing was injected into the network settings.

VeeamPN07.png 

 You can see above that the 192.168.1.0, 172.17.0.0 and 172.17.0.1 static routes have been added and set to use the tunnel interfaces default gateway, which is on the central Hub Appliance. This means that from my MBP, I can now get to any device on any of those three subnets, no matter where I am in the world. In this case, I can RDP to my Windows workstation, connect to vCenter or SSH into my ESXi hosts.

Conclusion

To summarize, here are the steps I took to setup and configure the extension of a home office network using Veeam PN through its site-to-site connectivity feature to allow access to systems and services via a point-to-site VPN:

  1. Deploy and configure Veeam PN Hub Appliance

  2. Register sites

  3. Register endpoints

  4. Deploy and configure Veeam PN Site Gateway

  5. Setup endpoint and connect to Hub Appliance

Those five steps can take less than 15 minutes, which also takes into consideration the OVA deployments. This is a very streamlined, efficient process compared to other processes, which can take hours and would involve a more complex set of commands and configuration steps. The simplicity of the solution is what makes it very useful for home lab users wanting a quick and easy way to access their systems. It just works!

Again, Veeam PN is completely free and downloadable in OVA format. I have been using it without issues for a number of months, and it adds to the flexibility of the Veeam PN solution.

 

anthony_spiteri_2.pngAnthony Spiteri (MNet&SysAdmin, vExpert, VCIX-NV, VCAP-DCV) focuses on Veeam’s Service Provider products and partners in his role as Technical Evangelist. He takes a key lead on contributions to the products associated with the cloud and service provider business. Anthony is a six-time VMware vExpert, and his experience has included evangelistic roles at roadshows and events, presenting sessions and community talks on leading technologies locally and overseas. Follow Anthony on Twitter @anthonyspiteri and LinkedIn.

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like