Understanding VPN configuration in Windows Server 2012 R2 Essentials
[This post comes to us courtesy of Md. Sabir Chandwale and Rituraj Choudhary from Global Business Support]
In this post we will discuss about Virtual Private Network feature on Windows Server 2012 R2 Essentials.
Virtual Private Network can be straightforwardly installed and configured on a Windows Server 2012 R2 Essentials by running the Set up Anywhere Access wizard and selecting Virtual Private Network (VPN) option on the following screen.
If you want to know about Remote Web Access, or run through the sequential screens of Anywhere Access wizard, please visit this post.
When you choose to enable VPN using this wizard, the following roles/features get installed on the Essentials Server: Remote Access, DirectAccess and VPN (RAS), IP and Domain Restrictions, IIS Management Scripts and Tools, Network Policy and Access Services Tools, and Windows Internal Database.
You can also enable these roles/features from the Server Manager or PowerShell command-lets, however on Windows Server Essentials we recommend enabling it using the Set up Anywhere Access wizard.
It’s noteworthy that Windows Server 2012 R2 Essentials allows client machines to join their server without having to be inside the company network using a feature called Remote Domain Join. So, if VPN is enabled on Server Essentials, you may connect a remote client to the local network via VPN, run the Connect wizard from https:// <servername> /connect or https://<domainname>.remotewebaccess.com/connect URL and join the remote client to the server. The process is very simple and straightforward.
As a prologue to discuss some common issues with VPN on Windows Server 2012 R2 Essentials, let us first glance through the default Routing and Remote Access (RRAS) settings. You may also find the specifics about these settings on TechNet.
Note: Server Essentials automatically manages the routing for VPN, and therefore Routing and Remote Access (RRAS) UI is hidden on the server to prevent tampering of RRAS settings. As a result, to view, change or troubleshoot the Remote Access settings, you need to install Remote Access GUI and Command-Line Tools using Server Manager or the following PowerShell command:
Add-WindowsFeature RSAT-RemoteAccess-Mgmt
This feature enables Routing and Remote Access console and respective command-line tools to manage VPN and DirectAccess. Note that this role may not be required on the server unless you need to change the settings for VPN or DirectAccess.
Default Settings of VPN on Windows Server 2012 R2 Essentials
To check the default settings for the VPN, open Routing and Remote Access Manager. Right click server name, and select Properties.
On the General tab, IPv4 must be enabled:
The Security tab consists of the Authentication Methods… and SSL Certificate Binding:
The Authentication Methods should have Extensible authentication protocol (EAP) and Microsoft encrypted authentication version 2 (MS-CHAP v2) enabled. You can confirm it by clicking the Authentication Methods… button on the Security tab.
The SSL Certificate Binding section on the Security tab displays the certificate active for VPN. This also indicates that we enable VPN on SSL and that you do not have to allow any port other than port 443.
Let’s move on to the IPv4 tab. By default the VPN clients are set to receive IP from DHCP, but you may require to change it to a Static address pool for troubleshooting purposes.
On the IPv6 tab, the options Enable IPv6 Forwarding and Enable Default Route Advertisement are selected by default.
The IKEv2 tab consists of the default options to control the IKEv2 client connections and Security Association expiration.
The PPP tab contains the settings for Point-to-Point protocol and are as follows:
The Logging tab on the server properties page contains the level of logging enabled for Routing and Remote Access.
To enable additional logging for the Routing and Remote Access, select the option Log additional Routing and Remote Access information. Once this option is selected additional log files are created in the %windir%\Tracing directory that provide deeper insight to troubleshoot RRAS issues. Make sure to disable the additional logging once the troubleshooting is complete.
You may also gather and modify information for Remote Access from an elevated Windows PowerShell terminal. Here are some common commands:
Command |
Purpose |
Get-Command -Module RemoteAccess |
Displays a list of commands available with RemoteAccess module |
Get-RemoteAccess |
Displays the configuration of VPN and DirectAccess (DA) |
Get-VpnAuthProtocol |
Displays authentication protocols and parameters set on the VPN |
Get-VPNServerConfiguration |
Displays VPN server properties |
Here is a sample output:
You can look at the help file of each of these commands for a detailed description. Better yet, you can use the following command to insert the help contents of each of these commands for the module RemoteAccess to a text file as:
$(foreach ($command in (Get-Command -Module RemoteAccess)) {Get-Help $command.Name} ) | Out-File HELP.txt
We will discuss some common issues with VPN on another post in future.
Comments
- Anonymous
January 01, 2003
thank you - Anonymous
May 21, 2014
Pingback from Understanding VPN configuration in Windows Server 2012 R2 Essentials - Anonymous
June 11, 2014
Pingback from Troubleshooting Common VPN issues on Windows Server 2012 R2 Essentials - The Windows Server Essentials and Small Business Server Blog - Site Home - TechNet Blogs - Anonymous
July 02, 2014
Do we need a remote access license for this? - Anonymous
August 11, 2014
These are the top Microsoft Support solutions for the most common issues experienced when you use Windows - Anonymous
August 12, 2014
These are the top Microsoft Support solutions for the most common issues experienced when you use Windows - Anonymous
August 16, 2014
These are the top Microsoft Support solutions for the most common issues experienced when you use Windows - Anonymous
January 08, 2015
How to Create a VPN Server on - Anonymous
February 25, 2015
This is very easy setup guide for windows users. Still there are many providers giving setup process like vpnranks.com . - Anonymous
March 19, 2015
very nice - Anonymous
May 15, 2015
These are the top Microsoft Support solutions for the most common issues experienced when you use Windows - Anonymous
June 01, 2015
The comment has been removed - Anonymous
June 10, 2015
In your first screenshot (and on my server), the checkbox for "IPv6 Remote Access server" is disabled and cannot be checked. What steps need to be taken to enable this? - Anonymous
August 17, 2015
Thanks for posting this informative blog "Understanding VPN configuration in Windows Server 2012 R2 Essentials". This will help to configure window server. I really love to read this blog.
Here is one another platform known by REVE Systems, which is also provide such type of services. Click for more information about VoIP softphone and mobile applicationhttp://www.revesoft.com/products/faqs - Anonymous
August 25, 2015
i have setup VPN on my Windows 8. That VPN makes it easy to for me to secure my system from hackers and other online enemies and even i can easily access to all geo-restricted content. I would like to share here top VPN services for windows and how to configure it in easy steps here http://www.vpnanalysis.com/5-best-vpns-for-windows/ - Anonymous
October 03, 2015
The comment has been removed - Anonymous
October 03, 2015
Guys I read all of your comments here. I would like to add another vpn comparison review site here. I think all of you here will be more interested. I have visited the below website and checked their reviews as well. I am satisfied too much. I think you'll be too. Here you go http://www.vpncomparison.org/provider/expressvpn/
Will wait for your reply here! - Anonymous
October 22, 2015
what is about best pro vpn ??? i am search about this and i find expressvpn best vpn service are this true ???? i am get information from this site
http://www.hideipsoftwares.com/
and this is review
http://www.hideipsoftwares.com/expressvpn-review
please i need help ??? are this information is true ??? - Anonymous
November 25, 2015
Its Pretty enhanced tutorial, but i have setup VPN by using third party tool which is pretty easily installed and run. i have choose expressvpn for windows ... not bed uhn..http://www.mostsecurevpn.com/best-vpn-for-windows/ - Anonymous
December 07, 2015
The comment has been removed - Anonymous
December 28, 2015
Can we use this setup on windows 10? VPN compatibility has now arrived with windows 8 and windows phone but I am having issue in configuring VPN on Windows 10. I want to bypass the Geo-restricted content on windows 10 and I found a list of Windows 10 VPN here http://www.bestvpnprovider.com/top-5-windows-10-vpn-services/.
Need help to set up VPN on Windows 10. - Anonymous
January 07, 2016
http://www.happynewyear2016wishesimagessms.com/hindu-festival-2016/
http://www.happynewyear2016wishesimagessms.com/lohri-pics-lohri-sms-lohri-wallpapers/
http://www.happynewyear2016wishesimagessms.com/happy-lohri-images/
http://www.happynewyear2016wishesimagessms.com/happy-lohri-quotes/
http://www.happynewyear2016wishesimagessms.com/happy-lohri-wishes/
http://www.happynewyear2016wishesimagessms.com/happy-lohri-wallpaper/
http://www.happynewyear2016wishesimagessms.com/lohri-greetings/
http://www.happynewyear2016wishesimagessms.com/lohri-images/
http://www.happynewyear2016wishesimagessms.com/lohri-songs/
http://www.happynewyear2016wishesimagessms.com/lohri-wishes/
http://www.happynewyear2016wishesimagessms.com/lohri-festival/
http://www.happynewyear2016wishesimagessms.com/happy-lohri-bonfire-festival/
http://www.happynewyear2016wishesimagessms.com/lohri-bonfire-festival/
http://www.happynewyear2016wishesimagessms.com/lohri-the-bonfire-festival/
http://www.happynewyear2016wishesimagessms.com/up-helly-aa-event-in-scotland/
http://www.happynewyear2016wishesimagessms.com/dinagyang-festival/
http://www.happynewyear2016wishesimagessms.com/sundance-film-festival-2016/
http://www.happynewyear2016wishesimagessms.com/wwe-in-india-wwe-live-event-in-new-delhi/
http://www.happynewyear2016wishesimagessms.com/lohri-wishes-for-friends-family/
http://www.happynewyear2016wishesimagessms.com/cowboy-poetry/
http://www.happynewyear2016wishesimagessms.com/ati-atihan-festival-full-information/
http://www.happynewyear2016wishesimagessms.com/holy-ship-2016/
http://www.happynewyear2016wishesimagessms.com/things-to-do-in-banff-town-canada/
http://www.happynewyear2016wishesimagessms.com/rainbow-serpent-festival/
http://www.happynewyear2016wishesimagessms.com/sundance-film-festival-winners/
http://www.happynewyear2016wishesimagessms.com/junkanoo-parade/
http://www.happynewyear2016wishesimagessms.com/hogmanay-2016/
http://www.happynewyear2016wishesimagessms.com/ice-sculpture-snow-sculpture-festival/
http://www.happynewyear2016wishesimagessms.com/carnevale-di-venezia/
http://www.happynewyear2016wishesimagessms.com/bpm-festival-what-bpm-festival-is/
http://www.happynewyear2016wishesimagessms.com/thaipusam-thaipusam-is-a-hindu-festival/
http://www.happynewyear2016wishesimagessms.com/holy-ship-unveils-massive-lineups-for-2016-cruises/
http://www.happynewyear2016wishesimagessms.com/quebec-winter-carnival/
http://www.happynewyear2016wishesimagessms.com/jam-cruise/
http://www.happynewyear2016wishesimagessms.com/things-to-do-in-edinburgh/
http://www.happynewyear2016wishesimagessms.com/harbin-ice-festival/
http://www.happynewyear2016wishesimagessms.com/the-sundance-film-festival-a-program-of-the-sundance-institute/ - Anonymous
January 07, 2016
http://www.republicdayimagesi.com/republic-day-songs/
http://www.republicdayimagesi.com/republic-day-status-republic-day-wallpaper/
http://www.republicdayimagesi.com/republic-day-information-republic-day-photos/
http://www.republicdayimagesi.com/republic-day-pictures-republic-day-pics/
http://www.republicdayimagesi.com/republic-day-messages-republic-day-sms/
http://www.republicdayimagesi.com/republic-day-in-hindi/
http://www.republicdayimagesi.com/essay-on-republic-day/
http://www.republicdayimagesi.com/what-is-republic-day/
http://www.republicdayimagesi.com/republic-day-wishes/
http://www.republicdayimagesi.com/speech-on-republic-day-in-hindi-speech-for-republic-day/
http://www.republicdayimagesi.com/republic-day-speech-in-hindi/
http://www.republicdayimagesi.com/republic-day-image/
http://www.republicdayimagesi.com/india-republic-day/
http://www.republicdayimagesi.com/republic-day-quotes/
http://www.republicdayimagesi.com/images-of-republic-day-pics-of-republic-day/
http://www.republicdayimagesi.com/speech-on-republic-day/
http://www.republicdayimagesi.com/republic-day-2016/
http://www.republicdayimagesi.com/republic-day-india/
http://www.republicdayimagesi.com/republic-day-speech/
http://www.republicdayimagesi.com/republic-day-images/
http://www.republicdayimagesi.com/happy-republic-day/
http://www.republicdayimagesi.com/republic-day/
http://www.republicdayi.com/republic-day-songs/
http://www.republicdayi.com/republic-day-status-republic-day-wallpaper/
http://www.republicdayi.com/republic-day-information-republic-day-photos/
http://www.republicdayi.com/republic-day-pictures-republic-day-pics/
http://www.republicdayi.com/republic-day-messages-republic-day-sms/
http://www.republicdayi.com/speech-on-republic-day-in-hindi-speech-for-republic-day/
http://www.republicdayi.com/republic-day-in-hindi/
http://www.republicdayi.com/essay-on-republic-day/
http://www.republicdayi.com/what-is-republic-day/
http://www.republicdayi.com/republic-day-wishes/
http://www.republicdayi.com/republic-day-speech-in-hindi/
http://www.republicdayi.com/republic-day-image/
http://www.republicdayi.com/india-republic-day/
http://www.republicdayi.com/republic-day-quotes/
http://www.republicdayi.com/images-of-republic-day/
http://www.republicdayi.com/speech-on-republic-day/
http://www.republicdayi.com/republic-day-2016/
http://www.republicdayi.com/republic-day-india/
http://www.republicdayi.com/republic-day-speech/
http://www.republicdayi.com/republic-day-images/
http://www.republicdayi.com/happy-republic-day/
http://www.republicdayi.com/republic-day/ - Anonymous
January 07, 2016
http://www.happylohrii.com/lohri-pics-lohri-sms-lohri-wallpapers/
http://www.happylohrii.com/happy-lohri-images/
http://www.happylohrii.com/hindu-festival-2016/
http://www.happylohrii.com/happy-lohri-quotes/
http://www.happylohrii.com/happy-lohri-wishes/
http://www.happylohrii.com/happy-lohri-wallpaper/
http://www.happylohrii.com/lohri-greetings/
http://www.happylohrii.com/lohri-images/
http://www.happylohrii.com/lohri-songs/
http://www.happylohrii.com/lohri-wishes/
http://www.happylohrii.com/lohri-festival/
http://www.happylohrii.com/happy-lohri-bonfire-festival/
http://www.happylohrii.com/lohri-bonfire-festival/ - Anonymous
January 22, 2016
Hmm its simple step but usually people face trouble to use vpn in windows...so if you want to know more about windows setup for phone then it will be helpful to you.http://www.vpnranks.com/how-to-setup-vpn-on-windows-phone/