Table of Contents
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.
Install and Configure Remote Access VPN Step by Step
Task To Perform On DC1
Open “Server Manager”
Click on “Add Roles and Features”
On Before you begin wizard,
Click on “Next”
“Select Role-Based or feature-based installation” on Select installation type Console
Click on “Next”
On Select Destination Server,
“Select a server from the pool”
Click on “Next”
On the Select Server Roles console,
Check the Box “Remote Access”
Click on “Next”
On Select Features,
We don’t need an additional feature for installing a remote access role
Click on “Next”
Read about Remote Access on Remote Access Console,
Click on “Next”
On the Select role Services console,
Check the box “DirectAccess and VPN(RAS)”
Click on “Next”
On Confirm installation selections,
Check the box “Restart the destination server automatically if required”
Click on “Install”
Once the installation is Succeeded on the Server in Installation progress,
Click on “Open the Getting Started Wizard”
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
On Routing and Remote Access wizard,
Right Click on “DC1(LOCAL)”
Click on “Configure and Enable Routing and Remote Access”
On Routing and Remote Access Server Setup Wizard,
Click on “Next”
On the configuration console,
Select “Custom Configuration”
Click on “Next”
Now Select “VPN Access” from custom configuration Console
Click on “Next”
On Completing the Routing and Remote Access Server Setup Wizard,
Click on “Finish”
After clicking on finish Routing and Remote Access will prompt message,
It will ask to start the service
Click on “Start Service”
Once the service is Start,
Again “Right Click” on DC1(Local)
Click on “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”
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”
After giving a range of “Static Address Pool”
Click on “Apply”
On “Server Manager”
Click on “Tools”
Open “Active Directory Users and Computers”
On Active Directory Users and Computers Wizard,
Click on “VPN Users” OU(Organization Unit)
Now Right Click on user “MARK”
Click on “Properties”
Click on “Member Of”
Now Click on “Add”
After Clicking on Add,
Select Groups console will get open,
Click on “Advanced”
Now click on “Find Now”
Select “Remote desktop Users” from the list,
Click on “OK”
After Selecting Remote Desktop Users,
Click on “OK”
Go to Dial-in
Select “Allow access”
Click on “Apply” then click on “OK”
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”
The task to Perform on Client Machine
Open Settings,
On VPN Console, Click on “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”
Now click on “VPN CONNECT”
Then click on “Connect”
After Clicking on Connect,
However, It will prompt for Password
Enter User name “kaptechpro\mark” and Password
Click on “OK”
After Authentication,
Mark is now connected to VPN Server
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.
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:-
I think this is a real great post. Really thank you! Awesome. Julius Encallado