In this article, I will teach you How to Create and Configure RRAS VPN Server on Azure VM in a total of 5 parts. I will cover every step, taking approximately 30 minutes of your valuable time to deploy RRAS Server on an Azure VM successfully.
Microsoft officially doesn’t support RRAS on an Azure VM, but back in 2017, it was officially supported, and later, somewhere in 2019, it was dropped.
RRAS Service requires 2 LAN ports; the second LAN port is required for routing. But by default, all of the Azure VMs come with a single LAN port, so this makes little complicated for RRAS Service in Azure; that’s the only reason RRAS is not supported.
You can add a LAN port to an Azure VM, but it has some downfalls. So, I won’t suggest it; instead, you can follow the tutorial below to better use the RRAS VPN Server on an Azure VM.
Prerequisite : Installing RRAS VPN Server on Azure VM
Below is the prerequisite for installing the 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 an Azure VM with Windows Server 2016 data center 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
Log in to the Azure VM on which you will install the RRAS VPN Server.
Step 01: Install RRAS Role on Azure VM
1. Open Server Manager and click on the Manage button in 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 correct 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 the Remote Access Role on your server
Congratulation you have successfully installed 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 carefully follow the below configuration steps.
1. Click on the Tools in 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 and 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.
With this configuration, you have successfully created the Azure VM, installed the Remote Access Role and configured the RRAS service.
Now we need to create an 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