In the upcoming sections, we are going to configure an Azure VPN gateway, configure a S2S VPN, and verify the connectivity between Azure and the on-premises environment.
We are going to use Windows Server 2012 with Routing and Remote Access Service (RRAS) enabled on it to serve as the compatible VPN device that is installed on the on-premises environment.
Creating and configuring the on-premises VPN device
First, we are going to set up Windows Server 2012 and activate RRAS on it to set up the VPN. For this demonstration, I've created a virtual machine on my laptop with Windows Server 2012 R2 installed on it. To enable RRAS, perform the following steps:
Make sure that the network adapter is set to bridged mode. The VPN gateway in Azure can't connect to a VPN that is behind a NAT.
- Go to Server Manager | Manage | Add Roles and Features to enable RRAS:
Enabling RRAS on Windows Server 2012
- Click Next on the first screen of the Add...