Install and Configure Route and Remote Access Service on Server Core

I am setting up a Hyper-V host on a Windows Server Core 2016 to host a bunch of testing VMs that need to be totally separated from the main network. That’s why I need the Route and Remote Access service enabled on server core to act as a NAT to provide Internet access to all these VMs.

Install the Remote Access Server Role

1. On Server Core console, type PowerShell to start.

2. Install Remote Access feature by

Install-WindowsFeature RemoteAccess

Then, type Restart-Computer to restart the computer.

3. Once rebooted, install Remote Access PowerShell module by:

Install-WindowsFeature RSAT-RemoteAccess-PowerShell

No need to restart the computer.

4. Install the Routing feature by:

Install-WindowsFeature Routing

Type Restart-Computer to restart the computer.

Configure and enable Routing

It’s easier to use Remote Access Management Console on Windows 10 computer to configure and enable the routing feature. Download and install Remote Server Administration Tools for Windows 10 as Remote Access Manager is part of that toolkit.

Launch Remote Access Management Console and click Manage a Remote Server on the right Tasks list.

Remote Access Management Console - manage a remote server

Once connected successfully, click DirectAccess and VPN on the left pane and Open RRAS Management under VPN on the right.

Remote Access Management Console - 2018-01-21 00_34_53

In Route and Remote Access, click Action and choose Configure and Enable Routing and Remote Access to launch the configuration wizard.

Routing and Remote Access - Action

Select Network address translation (NAT) option from the list, and Next.

Routing and Remote Access Server Setup Wizard 2018 01 20 22 03 31 - Install and Configure Route and Remote Access Service on Server Core

Select the NIC that has internet access to Provide internet and the private Virtual Switch for VMs as the Internal Network. If all go well as planned, you will be up and running in a few seconds.

Remote Access Management Console - NAT

Leave a Reply

Your email address will not be published. Required fields are marked *