{"id":2243,"date":"2017-06-21T22:35:31","date_gmt":"2017-06-21T22:35:31","guid":{"rendered":"http:\/\/microsoftgeek.com\/?p=2243"},"modified":"2018-09-06T23:17:58","modified_gmt":"2018-09-06T23:17:58","slug":"how-to-set-up-a-windows-server-2012-vpn","status":"publish","type":"post","link":"https:\/\/microsoftgeek.com\/?p=2243","title":{"rendered":"How to set up a Windows Server 2012 VPN"},"content":{"rendered":"<h4>Install the Remote Access Server Role<\/h4>\n<p>We will be doing this through a GUI. Open Server Manger and click on Manage and select Add Roles and Features.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-461 no-display appear\" src=\"http:\/\/www.enterprisedaddy.com\/wp-content\/uploads\/2015\/02\/Untitled11.png\" sizes=\"auto, (max-width: 1080px) 100vw, 1080px\" srcset=\"http:\/\/www.enterprisedaddy.com\/wp-content\/uploads\/2015\/02\/Untitled11.png 1080w, http:\/\/www.enterprisedaddy.com\/wp-content\/uploads\/2015\/02\/Untitled11-1024x235.png 1024w, http:\/\/www.enterprisedaddy.com\/wp-content\/uploads\/2015\/02\/Untitled11-1078x248.png 1078w\" alt=\"How to set up a Windows Server 2012 VPN\" width=\"1080\" height=\"248\" \/><\/p>\n<p>A wizard comes up, select Next and click on Roles based or feature based installation and click on Next.<\/p>\n<p>On the next page select the destination server, which is the local machine.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-462 no-display appear\" src=\"http:\/\/www.enterprisedaddy.com\/wp-content\/uploads\/2015\/02\/Untitled21.png\" alt=\"How to set up a Windows Server 2012 VPN\" width=\"748\" height=\"527\" \/><\/p>\n<p>Select the Remote Access Role on the next page and click on Next.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-463 no-display appear\" src=\"http:\/\/www.enterprisedaddy.com\/wp-content\/uploads\/2015\/02\/Untitled31.png\" alt=\"How to set up a Windows Server 2012 VPN\" width=\"748\" height=\"532\" \/><\/p>\n<p>It will by default install the required features like .NET framework, click on Next. The next page will give you a brief introduction about the Remote Access role, go through it and click on Next.<\/p>\n<p>On the next page, select Direct Access and VPN Role services because this is what we are interested in. It will prompt to install the required features, click on Add Features and Next.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-464 no-display appear\" src=\"http:\/\/www.enterprisedaddy.com\/wp-content\/uploads\/2015\/02\/Untitled41.png\" alt=\"How to set up a Windows Server 2012 VPN\" width=\"391\" height=\"417\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-465 no-display appear\" src=\"http:\/\/www.enterprisedaddy.com\/wp-content\/uploads\/2015\/02\/Untitled51.png\" alt=\"How to set up a Windows Server 2012 VPN\" width=\"750\" height=\"531\" \/><\/p>\n<p>It also requires Web Server to be installed, you are fine by just selecting the defaults and clicking on Next.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-466 no-display appear\" src=\"http:\/\/www.enterprisedaddy.com\/wp-content\/uploads\/2015\/02\/Untitled6.png\" alt=\"How to set up a Windows Server 2012 VPN\" width=\"747\" height=\"528\" \/><\/p>\n<p>Click on Install and wait for the installation to complete.<\/p>\n<h4>Configure the Remote Access Server Role<\/h4>\n<p>Now that we are done with installing the Server Role, we need to go enable it and provide a few details to start accepting the incoming connections.<\/p>\n<p>From Administrative Tools, select Remote and Routing Access. A window comes up, right click on the server and select Configure and Enable and Remote and Routing Access.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-468 no-display appear\" src=\"http:\/\/www.enterprisedaddy.com\/wp-content\/uploads\/2015\/02\/Untitled7.png\" alt=\"How to set up a Windows Server 2012 VPN\" width=\"605\" height=\"431\" \/><\/p>\n<p>A wizard pops up and follow along.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-469 no-display appear\" src=\"http:\/\/www.enterprisedaddy.com\/wp-content\/uploads\/2015\/02\/Untitled8.png\" alt=\"How to set up a Windows Server 2012 VPN\" width=\"488\" height=\"410\" \/><\/p>\n<p>Select Custom Configuration and click on Next.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-470 no-display appear\" src=\"http:\/\/www.enterprisedaddy.com\/wp-content\/uploads\/2015\/02\/Untitled9.png\" alt=\"How to set up a Windows Server 2012 VPN\" width=\"484\" height=\"407\" \/><\/p>\n<p>On the next page, select VPN server and click on Finish.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-471 no-display appear\" src=\"http:\/\/www.enterprisedaddy.com\/wp-content\/uploads\/2015\/02\/Untitled10.png\" alt=\"How to set up a Windows Server 2012 VPN\" width=\"489\" height=\"412\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-472 no-display appear\" src=\"http:\/\/www.enterprisedaddy.com\/wp-content\/uploads\/2015\/02\/Untitled111.png\" alt=\"How to set up a Windows Server 2012 VPN\" width=\"486\" height=\"410\" \/><\/p>\n<p>Next step will be to start the services.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-473 no-display appear\" src=\"http:\/\/www.enterprisedaddy.com\/wp-content\/uploads\/2015\/02\/Untitled12.png\" alt=\"How to set up a Windows Server 2012 VPN\" width=\"329\" height=\"160\" \/><\/p>\n<p>Now Right click on the server and click on Properties to configure the IP addresses that it will give out once the connections are made.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-474 no-display appear\" src=\"http:\/\/www.enterprisedaddy.com\/wp-content\/uploads\/2015\/02\/Untitled13.png\" alt=\"How to set up a Windows Server 2012 VPN\" width=\"391\" height=\"555\" \/><\/p>\n<p>Now you will need to allow the connections coming in on the Windows Firewall. Go to start and type Firewall and select the third option as shown below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-475 no-display appear\" src=\"http:\/\/www.enterprisedaddy.com\/wp-content\/uploads\/2015\/02\/Untitled14.png\" alt=\"How to set up a Windows Server 2012 VPN\" width=\"314\" height=\"345\" \/><\/p>\n<p>Make sure that the connections are allowed for Remote Access as seen below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-476 no-display appear\" src=\"http:\/\/www.enterprisedaddy.com\/wp-content\/uploads\/2015\/02\/Untitled15.png\" alt=\"How to set up a Windows Server 2012 VPN\" width=\"850\" height=\"566\" \/><\/p>\n<p>That\u2019s it! You are done. Before you can receive connections you will have to configure your Firewall.<\/p>\n<h4>Configure Perimeter Firewall<\/h4>\n<p>Based on the type of firewall you have, ensure the following ports are allowed traffic to the RRAS server:<\/p>\n<p>PPTP Connections:<br \/>\nTCP 1723<\/p>\n<p>L2TP\/IPSec Connections:<br \/>\nTCP 1701<br \/>\nUDP 500<\/p>\n<p>SSTP Connections:<br \/>\nTCP 443<\/p>\n<p>&nbsp;<\/p>\n<p>I hope this was informative and thank you for reading!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Install the Remote Access Server Role We will be doing this through a GUI. Open Server Manger and click on Manage and select Add Roles and Features. A wizard comes up, select Next and click on Roles based or feature based installation and click on Next. On the next page select the destination server, which [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,48],"tags":[],"class_list":["post-2243","post","type-post","status-publish","format-standard","hentry","category-vpn","category-microsoft-windows-server-2012"],"_links":{"self":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/2243","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2243"}],"version-history":[{"count":2,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/2243\/revisions"}],"predecessor-version":[{"id":2245,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/2243\/revisions\/2245"}],"wp:attachment":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2243"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}