Setup a VPN on Windows Server 2012, 2019
With a VPN, you can communicate with other computers connected to the VPN. You can also connect to the internet through the VPN server.
Installing the server
Step 1: Open the network connections panel
First off, we need to go to Control Panel\Network and Internet\Network Connections. You can go here by going to Control Panel -> Network and Internet -> Network and Sharing Center -> Change adapter settings (in the sidebar). You can also reach this panel by using the run command with ncpa.cpl.
Step 2: Setting up the VPN connectio
In order to set up the VPN, click File -> New Incoming Connection…. If you do not the see “File” menu, press Alt and it will show up.
You will now be able to select which users will be able to use your VPN. Select them, and click “Next“.
When you’re asked how people can connect, select “Through the Internet“. Click “Next“.
Select the networking software that users can use to connect to your server. Usually, you want to leave this default. Click “Allow access“.
Your VPN setup is complete.