You can use a Virtual Private Network or VPN to leave no trace of yourself on the Internet for the ISP or anyone else. Instead of connecting directly to a crowded and insecure Internet space, a VPN connects you to a private Internet network that is limited to you. VPN choose your location based on IP, where it does not belong to you at all. In this way, you can ensure your security in the Internet space. Another use of a VPN is to remotely run a company’s employees to the office’s private network, even if they are not physically present in the office. Due to the importance of VPN, we decided to teach you in this article about the Tutorial Create VPN Connection on RDP 2016.

Introduction to VPN and its benefits

In general, using a VPN in two parts will be useful for you. One is that by activating it, you will be able to fraudulently access the Internet from another country through VPN hosting servers. This is usually for accessing content that is not available in your country of residence. But the second and most important benefit of using a VPN is encrypting all your traffic data over the Internet. As a result, you will have higher security.

By connecting to VPN servers, they provide you with an encrypted connection with trusted links, and you can use the Internet normally and without any restrictions. Keep in mind that using a VPN slows down download and upload speeds. Because you connect to the Internet using a VPN interface and data transfer speeds are reduced.

How to Create VPN Connection on RDP 2016

How to Update RDP 2019

In the first step, you have to type PowerShell in the Windows Start menu and right-click on Run as Administrator, and open it in Administrative mode.

open in Administrative mode

By entering and running the following command, you will install the Windows Update module for PowerShell:

Install-Module PSWindowsUpdate

If you are asked to confirm, you must press Y and enter all the time.

Then run the following command to get a list of the latest updates:

Get-WindowsUpdate

Finally, run the following command to install the updates.

Install-WindowsUpdate

install windows update

After the updates are installed, run the following command to restart the computer:

Restart-Computer

How to Install a Remote access Role

To install the Remote access feature with Direct Access and VPN (RAS) and Routing with the management tools, you must first open PowerShell in administrative mode again and then enter the following commands:

Install-WindowsFeature RemoteAccess
Install-WindowsFeature DirectAccess-VPN -IncludeManagementTools
Install-WindowsFeature Routing -IncludeManagementTools

install a Remote access Role

How to Configure Routing and Remote Access

First, open the Server Manager in your RDP 2016 and click on Routing and remote Access from the Tools section.

How to Configure Routing and Remote Access

In this step, you must right-click on the local server and click on Configure and Enable Routing and Remote Access.

Configure and Enable Routing and Remote Access

Because the routing and access configuration is done manually, select the Custom Configuration button here and click Next.

Custom Configuration of vpn connection

Now you must select the VPN and NAT boxes and click Next.

how to select the VPN and NAT

Finally, click Finish.Then click on Start Service after seeing the instruction to start Routing and Remote Access Services.

start Routing and Remote Access Services

How to Configure VPN Properties

Now it’s time to configure VPN. First right-click on your local server and then click Properties.

how to configure VPN

Now you need to go to the Security tab and mark the check box of Allow custom IPSec policy for L2TP/IKEv2 connection, insert a very long PSK (Pre-shared key). Remember to write down the PSK as the PSK must be shared with any user who connects to the server. You can use any tool to generate a random key.

Allow custom IPSec policy for L2TP/IKEv2 connection

In this step, you have to go to the IPv4 section and select the Static address pool option from the IPv4 address assignment section and click Add. After the pop-up window opens, enter the IP address ranges. You must put the starting address and ending address of the IP address range you want users to assign.

Static address pool in vpn connection settings

Now click OK to save the address range and finally click OK again to save the changes. Click OK if you receive the “you need to restart the Routing and Remote Access for changes to apply” warning.

How to Create VPN User

In the Start menu, type, and then open the Computer Management window. Open the Local Users and Groups window on the left, right-click Users, and then click New User.

Computer Management window

In the New User prompt, you must enter a username, full name, and strong password, and Uncheck the “User must change password at next logon” box and then click Create.

User must change password at next logon

After creating the user, if you return to the computer management interface, you can find a new user in the list of users. To view the list of users in the Computer Management section, right-click Users and click Properties.

list of users

In the VPN users properties section, go to the Dial-in tab. Then select the Allow access option from the Network Access Permission settings. Finally, click OK to save the properties.

Allow access option from the Network Access Permission settings

Finally, the L2TP/IPSec VPN server can accept connections.

To connect to VPN Clients you must share the PSK and Windows username and password with the user who wishes to connect to the remote VPN server.

Conclusion

At the beginning of this article, we introduced you to VPN and explained the reason for using it. By using this article, you can easily Create VPN Connection on RDP 2016 by following the tutorials.

5/5 - (3 votes)