How to re-deploy VPN in 2016 Essentials in legacy mode.

This is the third article in a series of articles covering VPN in Windows Essentials.  In the first article I covered an issue with VPN and DHCP.  In the second article I covered how to re-deploy VPN with PowerShell in 2016 Essentials.  In this article I will cover how to re-deploy VPN in legacy mode.

  1. First we must clear the configuration. Launch a PowerShell session as administrator.
  2. Run Uninstall-RemoteAccess.  Hit enter when prompted.
  3. Install the RRAS (Routing and Remote Access Service) console by running the following command: Install-WindowsFeature RSAT-RemoteAccess-Mgmt
  4. Run rrasmgmt.msc to launch the RRAS console.
  5. Right-click on the server name and choose “Configure and Enable Routing and Remote Access”
    RRAS 1
  6. Click Next.
  7. Ensure the Custom configuration radio button is selected and click Next.
    RRAS 2
  8. Check the box for VPN and click Next.
    RRAS 3
  9. Click Finish to complete the initial configuration.  You will get a popup indicating a policy was created.  Click OK to continue.
    RRAS 4
  10. When prompted to start the service, click Start service.
  11. RRAS is now running, but there are two more required steps to complete the configuration.  Right-click the server name and choose Properties.
    RRAS 5
  12. Click on the Security tab.  At the bottom of the screen, choose the correct certificate and click Apply.  Click Yes to restart RRAS.
    RRAS certificate
  13. Click the IPv4 tab.  Click the radio button for Static address pool and click the Add button.  Fill in the start IP address and end IP address and click OK twice.
    RRAS static pool
  14. Restart the RRAS service.

At this point RRAS should be configured properly.  Optionally you can disable the unused protocols in RRAS.  To do so right-click on Ports and click Properties.
RRAS ports

Only SSTP is used in Essentials by default, so the other protocols can be removed/minimized.  Highlight IKEv2 and click Configure.  Change the maximum ports to 0 (zero) and click OK.  Click Yes on the popup.  Repeat this with L2TP and GRE.  For PPTP you cannot reduce to zero, but you can reduce to 1 (one).  I also like to reduce the number of ports to match the number of IP addresses in the static pool.  This is to ensure that all connections get a valid IP address.  So I limited the ports to 20 for SSTP.  When complete it should look something like below.
RRAS ports limited

I hope you found this article informative.  If you have anything to add or just want to comment, please do so below.

9 thoughts on “How to re-deploy VPN in 2016 Essentials in legacy mode.

  1. When I reach the end of routing and remote access server setup wizard, an error dialog appears:
    Installation of the Routing and Remote Access service failed because:
    Class not registered
    (80040154)
    When the expected behavior is to notify that is has created the default connection request. All the previous steps worked as expected. This is Server essentials 2016, patched up to date.

    Like

    1. No, this is completely separate from the Anywhere Access wizard. However if you run the Anywhere Access wizard again it will reset the configuration for VPN.

      Like

  2. This worked perfectly apart from having to restart the server after reconfiguring it. Before I restarted it I could connect fine but not ping any remote IP addresses.
    Thank you.

    Like

  3. Have you tried to deploy DUO with the Essentials Role installed? I would like to protect VPN AND the Remote Web Workplace / Anywhere Access features with MFA/DUO. Any tips? Seems like NPS gets in the way. Also DUO seems to require PAP. When enabled in NPS then RRAS service won’t load…. Anyway, just asking. It would be a super helpful tutorial (according to me). =) Thanks for the above though; very informative..

    Like

Leave a comment