Lagos, Nigeria

How to install a VPN on Windows Server 2019 (3 easy steps)

install remote access windows server 2019
  1. Open Server Manager
  2. Go to Manage > Add Roles and Features Wizard
  3. Check the Remote Access box and click Next
  4. At Role Services, check the DirectAccess and VPN (RAS) box and click Next
  5. Click Install
  6. Once setup is over, you might have to restart the server

An alternative solution is to install and configure Remote Access using the PowerShell.

Open the Getting Started Wizard Windows Server 2019
  1. Click on the Open the Getting Started Wizard
  2. Choose Deploy VPN only
  3. In the Routing and Remote Access Management Console, right-click on the Server name
  4. Select Configure and Enable Routing and Remote Access from the context menu
  5. Choose Custom configuration and click Next
  6. Select VPN access
  7. Start the VPN service

You shouldn’t stumble upon any issues at this stage if you use the dedicated wizard.

Static address pool vpn on windows server 2019

Finally, the only thing remaining is to configure the VPN User and Network Access. You have to open and forward ports from the firewall to the Windows Server.

Depending on the protocol you use, here are the ports you should open:

  • For PPTP: 1723 TCP and Protocol 47 GRE (also known as PPTP Pass-through)
  • For L2TP over IPSEC: 1701 TCP and 500 UDP
  • For SSTP: 443 TCP

If you don’t have a DHCP server, you can set a static IPv4 address pool. This can be done by following the steps below:

  1. Firstly, make sure all users have Remote access enabled
  2. Open the Properties panel of your VPN server
  3. Click on the IPv4 tab and enable Static address pool
  4. Click Add and add the same static IP address from the same Server subnet

In conclusion, you can install a VPN on your Windows Server 2019 in three easy steps: setting up Remote Manager using Server Manager or PowerShell, installing the VPN, and managing VPN access permissions.

If you experienced any technical difficulties, please let us know by dropping a comment in the section below.

This post was written by Aleksandar Ognjanovic and was first posted to WindowsReport

Tags: , , ,

%d bloggers like this: