How to install a Virtual Private Network on Windows Server 2019

Aleksandar Ognjanovic By: Aleksandar Ognjanovic
2 minute read
vpn on windows server 2019 featured

Home » How To » How to install a Virtual Private Network on Windows Server 2019

Using a VPN on your Windows Server has a lot of advantages for all parties included and it allows users in a small environment access to remote clients or firewalls to Windows Server. We made sure to explain how to install and set up a Virtual Private Network on Windows Server 2019.

Steps to install VPN on Windows Server 2019

Step 1 – Start by installing the Remote Access via Server Manager

In order to establish a VPN server in a small environment, we need to start with installing the Remote Access. You can use either Server Manager or Power Shell to install and configure Remote Access.

Here are the steps:

  1. Open Server Manager.
  2. Choose Manage > Add Roles and Features Wizard.
  3. Check the “Remote Access” box and click Next.install remote access windows server 2019
  4. Under Role Services, check the “DirectAccess and VPN (RAS)” box, and click Next.
  5. Finally, click Install. This might take some time and it requires a reboot of the server.

Step 2 – Move to VPN installation and configuration setup

After the installation of the Remote Access for Windows Server 2019, we can safely install and configure the VPN server. This is done through the dedicated Wizard.

Follow these steps to install and configure the VPN server on your Windows Server 2019:

  1. Click on the “Open the Getting Started Wizard”.Open the Getting Started Wizard Windows Server 2019
  2. Choose “Deploy VPN only“.
  3. In the Routing and Remote Access Management Console, right-click on the Server name and choose to Configure and Enable Routing and Remote Access from the contextual menu.
  4. Choose “Custom configuration” and click Next.
  5. Select VPN access and, finally, start the service.

Step 3 – Configure VPN access

Finally, the only thing remaining is to configure the VPN User and Network Access. This requires opening Firewall ports and forwarding them to the Window Server.

These are the ports you need to open based on the protocols:

  • 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

In case you don’t have the DHCP server, you can always 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 Properties of your VPN server.
  3. Click on the IPv4 tab and enable “Static address pool”.Static address pool vpn on windows server 2019
  4. Click Add and add the same static IP address from the same Server subnet in order for users to be able to access it.

That’s it. In case you have any questions or suggestions, feel free to ask us in the comments section below.

RELATED STORIES YOU SHOULD CHECK OUT:

Discussions

Next up

Users can’t apply selected color to taskbar in Windows 10 v1903

Rabia Noureen avatar. By: Rabia Noureen
2 minute read

Microsoft  recently rolled out Windows 10 version 1903 (aka May 2019 Update) to the general public. This feature update brings some exciting new features for […]

Continue Reading

This PC can’t be upgraded to Windows 10 v1903 [POTENTIAL FIX]

Rabia Noureen avatar. By: Rabia Noureen
2 minute read

Windows 10 May 2019 Update brings a weird bug that blocks the installation of the new OS. As a matter of fact, Microsoft already acknowledged […]

Continue Reading

Windows 10 May 2019 Update doesn’t recognize SB X-Fi sound cards

Mihai Duna avatar. By: Mihai Duna
2 minute read

Many Windows 10 users reported experiencing issues with their Sound Blaster X-Fi sound cards. Creative Technology’s SB sound cards drivers often fail to recognize the […]

Continue Reading