In this article, I am going to teach you How to Create and Configure RRAS VPN Server on Azure VM in total of 5 parts. I will cover each and every steps and this will take approximately 30 mins of your valuable time to successfully deploy RRAS Server on a Azure VM.
Microsoft officially doesn’t support RRAS on a Azure VM but back in 2017 it was officially support and later somewhere 2019 it was dropped.
RRAS Service require 2 LAN port, the second LAN port is actually required for routing purpose. But by default all of the Azure VMs comes with single LAN port so this makes little complicated for RRAS Service in Azure that’s is the only reason RRAS is not support.
Anyways you can add additional LAN port also to a Azure VM but it has some downfall So, I won’t suggest it instead you can follow the below tutorial for better use of RRAS VPN Server on a Azure VM.
Prerequisite : Installing RRAS VPN Server on Azure VM
Below is the prerequisite of installing RRAS VPN server on Azure VM.
- Azure VM with any Windows Server OS either 2012, 2016 or 2019
- Public Static IP for Azure VM
- One Self Signed certificate
- One Windows 10 device
Install RRAS VPN Server on Azure VM
I have already created a Azure VM with Windows Server 2016 datacenter operating system. Please follow the below instruction to install the RRAS Role on the Windows Server 2016 version.
Step 01: Login to your Azure VM
Login to the Azure VM on which you are about to install the RRAS VPN Server.
Step 01: Install RRAS Role on Azure VM

1. Open Server Manager and click on the Manage button on the top right corner
2. Click on Add Roles and Features

3. Read the instruction and Click on the Next Button

4. Select Role-based or feature-based installation and Click Next

5. Make sure to select the right destination server if you have many and click Next

6. Tick on Remote Access
7. Click Next

8. Click Next

9. Tick on DirectAccess and VPN
10. Click on Add Features when it popups

11. Click Next for Web Server Role (IIS)

12. Click Install to finish the installation of Remote Access Role on your server
Congratulation you have successfully install the Remote Access Role on the Azure VM. Now follow the below steps to configure the RRAS server on your Azure VM.
Configuring RRAS VPN Server on Azure VM
To configure the RRAS VPN Server on your Azure VM open the Server Manage again and follow the below configuration steps by steps very carefully.

1. Click on the Tools on the top right corner of the Server Manager
2. Select Routing and Remote Access in the list of options

3. Select the server down to the Server Status and right click on it
4. Click on Configure and Enable Routing and Remote Access

5. Click Next read the welcoming instruction if needed

6. Click on Custom configuration
7. Click Next

8. Tick on VPN access
9. Click Next
Now Routing and Remote Access server will start on your server. Just wait a few seconds and continue the below instruction

10. Again click on Server Name and right click on it
11. Click on Properties

12. Click on IPv4 Tab
13. Click on Static address pool
14. Click on Add
15. Type the Start IP address and End IP address which you want the VPN server to use
16. Click OK once you are done

17. Click OK to complete the static IP address configuration.
That’s it, you have successfully configured the RRAS VPN Service.
Configuration you have successfully created the Azure VM, installed the Remote Access Role and configure the RRAS service.
Now we need to create a NPS (Network Policy Server) Policy for that please follow this article:
Was this Article Helpful?
Did I just helped you solve one of your problem? Support me by buying me a coffee. Thanks for your support