How do I setup VMS Gateway on Hyper-V?

Hyper-V is a free virtualisation tool built into Windows 10/11 Pro. This guide shows you how to run VMS Gateway on Hyper-V

Updated over a week ago

Running VMS Gateway on Hyper-V requires some additional set up:

Prerequisites

Step 1: Create a bridged network

By default Hyper-V only uses an 'internal network' that does not allow other PCs to connect to your virtual machines. The first step is to create a new virtual switch that allows your virtual machine to be accessed on your local network.

  1. Run Hyper-V Manager

  2. From the Actions section on the right, select Virtual Switch Manager...
    ​

  3. Select External from the available options then select Create Virtual Switch
    ​

  4. Enter a descriptive name then, under External Network, select the network device that connects your PC to your local network.

  5. Hit Apply

Step 2: Creating your virtual machine

  1. Within Hyper-V Manager, select New ➑ Virtual Machine... from the Action section on the right.

  2. You can use the default options with the following exceptions:

    1. On Assign memory allocate a minimum of 4GB (8GB recommended for production environments).

    2. On Configure Networking select the virtual switch you created in Step 1.

    3. On Installation Options select "Install ... from a CD/DVD-ROM", select Image file and use Browse... to point to the Ubuntu ISO file you have downloaded.

Step 3: Tweak your virtual machine settings

Don't start your virtual machine just yet! You need to tweak your virtual machine settings first:

  1. Right-click your new virtual machine in the Virtual Machines list and select Settings...

  2. Expand the Network Adapter section:

  3. Select Advanced Features, and then tick Enable MAC address spoofing:

  4. (This step is only if you selected Generation 2 when you created your virtual machine - if this option doesn't exist, skip this step)
    Select Security from the list on the left, and un-tick Enable Secure Boot.

  5. Hit Ok

Step 4: Install Ubuntu

You're now ready to install Ubuntu. Right-clicking your virtual machine will show you the Start... option to power up your virtual machine, and the Connect... option to open a window to view your virtual machine's screen - it should show you Ubuntu installer booting, and present you a main installer window.

The main steps you need to perform are:

  • Select Install Ubuntu from the main menu.

  • Select all the defaults choices

  • Create a user account to allow you to login

If you want a fuller explanation on how to install Ubuntu you can access a tutorial in this article.

Next Steps...

You should now return to the Installation Guide and continue with the preparation steps.


​

Did this answer your question?