Remote Access VPN- Install And Configure

How To Insall And Configure Remote Access VPN On Windows Sever 2019.?

Before Remote Access- VPN(Virtual Private Network) installation

Let us understand

What is VPN(Virtual Private Network).?

A VPN or Virtual Private Network, allows you to create a secure connection to another network over the Internet.

We can also say it is an encrypted connection over the internet from a device to a network

Basically, it allows users to conduct work remotely.

 

Lab Environment 

We are using two machines for this demonstration.

1- DC1- This machine is my office machine and it is in a different city.

However, We will use this machine as VPN Server.

It has a local IP Address- “192.168.2.20”

 

2-CLIENT(MARK MACHINE)- We have one employee name “Mark”.

He wants to work from home Moreover, he is not in the company’s network.

We want him to use the company’s network.

However, We have to configure Remote Access VPN and give permission to Mark so that he can use the company’s network.

He will Share and Receive confidential files through the same network with his team.

 

VPN lab diagram

 

Install and Configure Remote Access VPN Step by Step

 

Task To Perform On DC1

Open “Server Manager”

Click on “Add Roles and Features”

 

server manager

 

On Before you begin wizard,

Click on “Next”

 

remote access vpn before you begin

 

 

“Select Role-Based or feature-based installation” on Select installation type Console

Click on “Next”

 

role based or feature based installation

 

On Select Destination Server,

“Select a server from the pool”

Click on “Next”

 

select destination server

 

On the Select Server Roles console,

Check the Box “Remote Access”

Click on “Next”

 

remote access vpn

 

On Select Features,

We don’t need an additional feature for installing a remote access role

Click on “Next”

 

remote access vpn feature

 

Read about Remote Access on Remote Access Console,

Click on “Next”

 

remote access vpn

 

On the Select role Services console,

Check the box “DirectAccess and VPN(RAS)”

Click on “Next”

 

remote access vpn roles

 

On Confirm installation selections,

Check the box “Restart the destination server automatically if required” 

Click on “Install”

 

remote access vpn install

 

Once the installation is Succeeded on the Server in Installation progress,

Click on “Open the Getting Started Wizard”

 

remote access vpn installation succeeded

 

Watch how to Install and Configure Remote Access VPN on Windows Server 2019

 

 

Configure Remote Access

On Configure Remote Access wizard,

Click on “Deploy VPN only”

Routing and Remote Access wizard will get open

 

remote access vpn configure

 

On Routing and Remote Access wizard,

Right Click on “DC1(LOCAL)”

Click on “Configure and Enable Routing and Remote Access”

 

remote access vpn wizard

 

On Routing and Remote Access Server Setup Wizard,

Click on “Next”

 

remote access vpn server setup

 

On the configuration console,

Select “Custom Configuration”

Click on “Next”

 

remote access vpn configuration

 

Now Select “VPN Access” from custom configuration Console

Click on “Next”

 

remote access vpn custom configuration wizard

 

On Completing the Routing and Remote Access Server Setup Wizard,

Click on “Finish”

 

vpn acess finish

 

After clicking on finish Routing and Remote Access will prompt message,

It will ask to start the service

Click on “Start Service”

 

start the service

 

Once the service is Start,

Again “Right Click” on DC1(Local)

Click on “Properties”

 

remote access vpn properties

 

On DC1(Local) Properties,

Click on “IPv4”

Select “Static address pool” (We don’t have DHCP Role installed reason we have select static address pool)

Click on “Add”

 

static address pool

 

On New IPv4 Address Range console,

Give Start “IP Address- 192.168.2.90”

And End “IP Address-192.168.2.100”

Click on “OK”

 

new ipv4 address range

 

After giving a range of “Static Address Pool”

Click on “Apply”

 

ipv4 selected

 

On “Server Manager”

Click on “Tools”

Open “Active Directory Users and Computers”

 

server manager

 

On Active Directory Users and Computers Wizard,

Click on “VPN Users” OU(Organization Unit)

Now Right Click on user “MARK”

Click on “Properties”

 

remote access vpn mark

 

Click on “Member Of”

Now Click on “Add”

 

remote access vpn permission user

 

After Clicking on Add,

Select Groups console will get open,

Click on “Advanced”

 

select groups vpn users

 

Now click on “Find Now”

 

select groups vpn wizard

 

Select “Remote desktop Users” from the list,

Click on “OK”

 

remote access and vpn groups

 

After Selecting Remote Desktop Users,

Click on “OK”

 

remote access vpn select group users

 

Go to Dial-in

Select “Allow access”

Click on “Apply” then click on “OK”

 

remote access vpn allow access

 

Now we have to do port forwarding to local IP of VPN Server,

Open Forwarding console on your router,

Select PPTP protocol and enter VPN server IP Address “192.168.2.20” 

 

remote access vpn port forwarding

 

The task to Perform on Client Machine

Open Settings,

On VPN Console, Click on “Add a VPN Connection”

 

Add a VPN Connection

 

On Add a VPN Connection console,

VPN Provider “Windows (built-in)”

Connection Name “VPN CONNECT”(You can give any name for connection)

Server name or Address “vpn.kaptechpro.com” (I don’t want to reveal my Public IP so I have resolved my public IP into the name).

VPN Type “Select Automatic”

Type of sign-in info select “User name and password”

Click on “Save”

 

add a vpn connection remote

 

Now click on “VPN CONNECT”

Then click on “Connect”

 

remote access vpn connect

 

After Clicking on Connect,

However, It will prompt for Password

Enter User name “kaptechpro\mark” and Password

Click on “OK”

 

windows security prompt

 

After Authentication,

Mark is now connected to VPN Server

 

vpn status

 

Jump back to DC1 machine,

Open Routing and Remote Access

Click on Remote Access Clients Console

You will see user mark is connected to the company’s network.

 

routing and remote access

 

Result

So we have successfully installed and configure remote access VPN on windows server 2019.

If in case you face any issue in following the above steps.

Feel Free to contact us at contact@kaptechpro.com or post your query below in the comment section.

Learn how to perform Active Directory Restore from Backup-System State

 

Watch how to perform Failover Clustering Using File Server:-

One Response

  1. bahis oyna July 11, 2022

Leave a Reply