VyOS Virtual Router on Nutanix CE

I run many different hypervisors in my lab and I always isolate them on private networks so I don’t screw up the internet connection for my wife and kids.

In the past I’ve been using Windows 2012 R2 and the Routing & Remote Access Role, but as time moves on I’ve tried to do the same with Windows 2016 without any luck.

Way before that in 2009 I used Vyatta which no longer exists. Luckily there’s a community fork of Vyatta called VyOS. It’s extreme lightweight and only requires 512MB RAM and 2GB of storage.

So lets just get started and see how you can provide internet access to your Internal Network and enable RDP connection from External to Internal Network.

First you’ll need to download the ISO image called vyos-1.1.7-amd64 from here. Since I’m using Nutanix I’m going to select Image Configuration to Upload the ISO image.

Fill in the information to Create the Image.

Next up is to create a new VM with 0.5GB of memory and a disk with 2GB. Click Add New Disk and make sure to set Bus Type to IDE.

Click Add New Disk again, but this time set Type to CDROM and use Clone from Image Service to select the ISO you uploaded earlier.

For the configuration below you’ll set eth0 as External and eth1 as Internal.

Simply start the VM and log in with vyos/vyos and type Install Image, the rest is straight forward.

Finally let’s do the IP configuration and enable SSH.

Now with SSH access enabled you can use Putty to copy/paste the rest of the commands.

So there’s my RDP Jump Host on DC-01 (192.168.1.10) which I’m using with Devolutions Remote Desktop Manager.

VyOS is extremly powerful and I’ve just scratched the surface with my configuration above. To learn more about Firewall and other settings check out this blog post from MVP Thomas Vochten.

I also found the following post showing how to install Citrix XenServer Tools and create a VyOS Template. If you go that route, don’t include the network adapters as part of the template, but add during the import.

3 Responses to VyOS Virtual Router on Nutanix CE

  1. Hi Eric
    Thanks for the article. Does the above config allows you to access you VMs in internal network from your internet connected VM?

    So If I have laptop connected to my home internet, Will I be able to connect RDP to my internal VMs with the above config?

Leave a reply