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

Aleksandar Ognjanovic
by Aleksandar Ognjanovic
Troubleshooting Expert
Aleksandar's main passion is technology. With a solid writing background, he is determined to bring the bleeding edge to the common user. With a keen eye, he always spots the next big thing surrounding... Read more
Affiliate Disclosure
  • Windows Server 2019 supports VPN connections. But you have to go through a bit of trouble to set it up and allow VPN access to all users involved.
  • Discover three easy steps for setting up a VPN on Windows Server 2019. You don't have to install any software tools since you can use the server's built-in settings.
  • Need a fresh OS install? Download Windows Server 2019 right away!
  • Join our VPN Troubleshooting Hub for additional guides.
how to install VPN on Windows Server 2019
To fix various PC problems, we recommend DriverFix:
This software will keep your drivers up and running, thus keeping you safe from common computer errors and hardware failure. Check all your drivers now in 3 easy steps:

  1. Download DriverFix (verified download file).
  2. Click Start Scan to find all problematic drivers.
  3. Click Update Drivers to get new versions and avoid system malfunctionings.
  • DriverFix has been downloaded by 0 readers this month.

Using a VPN on a Windows Server has a lot of advantages.

It allows users in a small environment to access remote clients or firewalls to Windows Server.

If you’re here to discover the exact steps for installing a VPN on Windows Server 2019, here’s everything you need to know.

5 Best VPNs we recommend

NordVPN 59% Off available for two-year plans Check offer!
PIA VPN 79% Off
+ 2 free Months
sale-coupon Check offer!
CyberGhost VPN 85% Off! Only 1.99$
per month for 15 months plan
Check offer!
SurfShark VPN 83% Off (2.21$/Month)
+ 3 free Months
Check offer!
BullGuard VPN 76% (2.83$)
on 2 Years plan
Check offer!

How can I set up a VPN on Windows Server 2019?

Install Remote Access using Server Manager

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.

Set up the VPN

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.

Configure VPN access

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 article covers:Topics: