{"id":116,"date":"2017-06-04T18:39:57","date_gmt":"2017-06-04T08:39:57","guid":{"rendered":"http:\/\/kswp01.azurewebsites.net\/?p=116"},"modified":"2019-08-18T18:59:13","modified_gmt":"2019-08-18T08:59:13","slug":"configuring-ras-on-windows-2016","status":"publish","type":"post","link":"http:\/\/kswp01.azurewebsites.net\/?p=116","title":{"rendered":"Configure RAS on Windows 2016 Server"},"content":{"rendered":"<h3>Steps to configure RAS (Remote Access Service) on Windows 2016 Server<\/h3>\n<p><!--more--><\/p>\n<p>&nbsp;<\/p>\n<p>1. Install RAS.<\/p>\n<p><a href=\"\/wp-content\/uploads\/2017\/06\/3001.png\"><img loading=\"lazy\" class=\"aligncenter size-large wp-image-138\" src=\"\/wp-content\/uploads\/2017\/06\/3001-1024x729.png\" alt=\"\" width=\"840\" height=\"598\" srcset=\"\/wp-content\/uploads\/2017\/06\/3001-1024x729.png 1024w, \/wp-content\/uploads\/2017\/06\/3001-300x214.png 300w, \/wp-content\/uploads\/2017\/06\/3001-768x547.png 768w, \/wp-content\/uploads\/2017\/06\/3001-1200x854.png 1200w, \/wp-content\/uploads\/2017\/06\/3001.png 1568w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>2. Select &#8220;RAS&#8221; and &#8220;Routing&#8221;<\/p>\n<p><a href=\"\/wp-content\/uploads\/2017\/06\/3002.png\"><img loading=\"lazy\" class=\"aligncenter size-large wp-image-137\" src=\"\/wp-content\/uploads\/2017\/06\/3002-1024x728.png\" alt=\"\" width=\"840\" height=\"597\" srcset=\"\/wp-content\/uploads\/2017\/06\/3002-1024x728.png 1024w, \/wp-content\/uploads\/2017\/06\/3002-300x213.png 300w, \/wp-content\/uploads\/2017\/06\/3002-768x546.png 768w, \/wp-content\/uploads\/2017\/06\/3002-1200x853.png 1200w, \/wp-content\/uploads\/2017\/06\/3002.png 1570w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>3. Click on the orange icon once RAS is installed.<\/p>\n<p><a href=\"\/wp-content\/uploads\/2017\/06\/3003.png\"><img loading=\"lazy\" class=\"aligncenter size-large wp-image-136\" src=\"\/wp-content\/uploads\/2017\/06\/3003-1024x662.png\" alt=\"\" width=\"840\" height=\"543\" srcset=\"\/wp-content\/uploads\/2017\/06\/3003-1024x662.png 1024w, \/wp-content\/uploads\/2017\/06\/3003-300x194.png 300w, \/wp-content\/uploads\/2017\/06\/3003-768x496.png 768w, \/wp-content\/uploads\/2017\/06\/3003-1200x775.png 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>4. Select &#8220;Deploy VPN Only&#8221; (Sorry forgot capturing the screenshot)<\/p>\n<p>&nbsp;<\/p>\n<p>5. Right click on the server and select &#8220;Configure and Enable Routing and Remote Access&#8221;<\/p>\n<p><a href=\"\/wp-content\/uploads\/2017\/06\/3004.png\"><img loading=\"lazy\" class=\"aligncenter size-large wp-image-135\" src=\"\/wp-content\/uploads\/2017\/06\/3004-1024x724.png\" alt=\"\" width=\"840\" height=\"594\" srcset=\"\/wp-content\/uploads\/2017\/06\/3004-1024x724.png 1024w, \/wp-content\/uploads\/2017\/06\/3004-300x212.png 300w, \/wp-content\/uploads\/2017\/06\/3004-768x543.png 768w, \/wp-content\/uploads\/2017\/06\/3004-1200x849.png 1200w, \/wp-content\/uploads\/2017\/06\/3004.png 1250w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>6. Next<\/p>\n<p><a href=\"\/wp-content\/uploads\/2017\/06\/3005.png\"><img loading=\"lazy\" class=\"aligncenter wp-image-134\" src=\"\/wp-content\/uploads\/2017\/06\/3005.png\" alt=\"\" width=\"840\" height=\"710\" srcset=\"\/wp-content\/uploads\/2017\/06\/3005.png 994w, \/wp-content\/uploads\/2017\/06\/3005-300x254.png 300w, \/wp-content\/uploads\/2017\/06\/3005-768x649.png 768w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>7. Select &#8220;Custom configuration&#8221;<\/p>\n<p><a href=\"\/wp-content\/uploads\/2017\/06\/3006.png\"><img loading=\"lazy\" class=\"aligncenter wp-image-133\" src=\"\/wp-content\/uploads\/2017\/06\/3006.png\" alt=\"\" width=\"840\" height=\"715\" srcset=\"\/wp-content\/uploads\/2017\/06\/3006.png 998w, \/wp-content\/uploads\/2017\/06\/3006-300x256.png 300w, \/wp-content\/uploads\/2017\/06\/3006-768x654.png 768w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>8. Select &#8220;VPN access&#8221;, &#8220;NAT&#8221; and &#8220;LAN routing&#8221;<\/p>\n<p><a href=\"\/wp-content\/uploads\/2017\/06\/3007.png\"><img loading=\"lazy\" class=\"aligncenter wp-image-132\" src=\"\/wp-content\/uploads\/2017\/06\/3007.png\" alt=\"\" width=\"840\" height=\"713\" srcset=\"\/wp-content\/uploads\/2017\/06\/3007.png 990w, \/wp-content\/uploads\/2017\/06\/3007-300x255.png 300w, \/wp-content\/uploads\/2017\/06\/3007-768x652.png 768w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>9. Start service<\/p>\n<p><a href=\"\/wp-content\/uploads\/2017\/06\/3008.png\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-131\" src=\"\/wp-content\/uploads\/2017\/06\/3008.png\" alt=\"\" width=\"658\" height=\"320\" srcset=\"\/wp-content\/uploads\/2017\/06\/3008.png 658w, \/wp-content\/uploads\/2017\/06\/3008-300x146.png 300w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>10. Right click on the server and select &#8220;Properties&#8221;<\/p>\n<p><a href=\"\/wp-content\/uploads\/2017\/06\/3009.png\"><img loading=\"lazy\" class=\"aligncenter size-large wp-image-130\" src=\"\/wp-content\/uploads\/2017\/06\/3009-1024x811.png\" alt=\"\" width=\"840\" height=\"665\" srcset=\"\/wp-content\/uploads\/2017\/06\/3009-1024x811.png 1024w, \/wp-content\/uploads\/2017\/06\/3009-300x238.png 300w, \/wp-content\/uploads\/2017\/06\/3009-768x608.png 768w, \/wp-content\/uploads\/2017\/06\/3009-1200x951.png 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>11. Select &#8220;Security&#8221; tab and click &#8220;Authentication Methods&#8230;&#8221; then select the authentication methods you use (for all protocols).<\/p>\n<p>Tick on &#8220;Allow custom IPsec pocky for L2TP\/IKEv2 connection&#8221; and specify the &#8220;Preshared Key&#8221; (for L2TP\/IPSEC).<\/p>\n<p>Select your SSL certificate (for SSTP). <span style=\"color: #ff0000;\">Note : The SSL certificate needs to be imported in Personal store in IIS.&nbsp;<\/span><\/p>\n<p><a href=\"\/wp-content\/uploads\/2017\/06\/3010.png\"><img loading=\"lazy\" class=\"aligncenter size-large wp-image-151\" src=\"\/wp-content\/uploads\/2017\/06\/3010-704x1024.png\" alt=\"\" width=\"704\" height=\"1024\" srcset=\"\/wp-content\/uploads\/2017\/06\/3010-704x1024.png 704w, \/wp-content\/uploads\/2017\/06\/3010-206x300.png 206w, \/wp-content\/uploads\/2017\/06\/3010-768x1118.png 768w, \/wp-content\/uploads\/2017\/06\/3010.png 786w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/a><\/p>\n<p><a href=\"\/wp-content\/uploads\/2017\/06\/3011.png\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-128\" src=\"\/wp-content\/uploads\/2017\/06\/3011.png\" alt=\"\" width=\"750\" height=\"656\" srcset=\"\/wp-content\/uploads\/2017\/06\/3011.png 750w, \/wp-content\/uploads\/2017\/06\/3011-300x262.png 300w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>12. Select &#8220;IPv4&#8221; tan and select &#8220;Static address pool&#8221; then click &#8220;Add&#8230;&#8221;<\/p>\n<p><a href=\"\/wp-content\/uploads\/2017\/06\/3012.png\"><img loading=\"lazy\" class=\"aligncenter size-large wp-image-127\" src=\"\/wp-content\/uploads\/2017\/06\/3012-710x1024.png\" alt=\"\" width=\"710\" height=\"1024\" srcset=\"\/wp-content\/uploads\/2017\/06\/3012-710x1024.png 710w, \/wp-content\/uploads\/2017\/06\/3012-208x300.png 208w, \/wp-content\/uploads\/2017\/06\/3012-768x1108.png 768w, \/wp-content\/uploads\/2017\/06\/3012.png 796w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>13. Specify the IP address range for clients.<\/p>\n<p><a href=\"\/wp-content\/uploads\/2017\/06\/3013.png\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-126\" src=\"\/wp-content\/uploads\/2017\/06\/3013.png\" alt=\"\" width=\"760\" height=\"464\" srcset=\"\/wp-content\/uploads\/2017\/06\/3013.png 760w, \/wp-content\/uploads\/2017\/06\/3013-300x183.png 300w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>14. Open &#8220;Computer Management&#8221; and right click on the user account and select &#8220;Properties&#8221;<\/p>\n<p><a href=\"\/wp-content\/uploads\/2017\/06\/3014.png\"><img loading=\"lazy\" class=\"aligncenter size-large wp-image-125\" src=\"\/wp-content\/uploads\/2017\/06\/3014-1024x729.png\" alt=\"\" width=\"840\" height=\"598\" srcset=\"\/wp-content\/uploads\/2017\/06\/3014-1024x729.png 1024w, \/wp-content\/uploads\/2017\/06\/3014-300x213.png 300w, \/wp-content\/uploads\/2017\/06\/3014-768x546.png 768w, \/wp-content\/uploads\/2017\/06\/3014-1200x854.png 1200w, \/wp-content\/uploads\/2017\/06\/3014.png 1962w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>15. Select &#8220;Dial-in&#8221; tab and &#8220;Allow access&#8221;<\/p>\n<p><a href=\"\/wp-content\/uploads\/2017\/06\/3015.png\"><img loading=\"lazy\" class=\"aligncenter size-large wp-image-124\" src=\"\/wp-content\/uploads\/2017\/06\/3015-807x1024.png\" alt=\"\" width=\"807\" height=\"1024\" srcset=\"\/wp-content\/uploads\/2017\/06\/3015-807x1024.png 807w, \/wp-content\/uploads\/2017\/06\/3015-237x300.png 237w, \/wp-content\/uploads\/2017\/06\/3015-768x974.png 768w, \/wp-content\/uploads\/2017\/06\/3015.png 820w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>16. Go back to RAS manager and right click &#8220;NAT&#8221;, then select &#8220;New Interface&#8230;&#8221;<\/p>\n<p><a href=\"\/wp-content\/uploads\/2017\/06\/3016.png\"><img loading=\"lazy\" class=\"aligncenter size-large wp-image-123\" src=\"\/wp-content\/uploads\/2017\/06\/3016-1024x810.png\" alt=\"\" width=\"840\" height=\"664\" srcset=\"\/wp-content\/uploads\/2017\/06\/3016-1024x810.png 1024w, \/wp-content\/uploads\/2017\/06\/3016-300x237.png 300w, \/wp-content\/uploads\/2017\/06\/3016-768x607.png 768w, \/wp-content\/uploads\/2017\/06\/3016-1200x949.png 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>17. Select &#8220;Ethernet 2&#8221; (or a physical NIC)<\/p>\n<p><a href=\"\/wp-content\/uploads\/2017\/06\/3017.png\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-122\" src=\"\/wp-content\/uploads\/2017\/06\/3017.png\" alt=\"\" width=\"760\" height=\"762\" srcset=\"\/wp-content\/uploads\/2017\/06\/3017.png 760w, \/wp-content\/uploads\/2017\/06\/3017-150x150.png 150w, \/wp-content\/uploads\/2017\/06\/3017-300x300.png 300w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>18. Select &#8220;Public interface connected to the Internet&#8221; and tick &#8220;Enable NAT on this interface:<\/p>\n<p><a href=\"\/wp-content\/uploads\/2017\/06\/3018.png\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-121\" src=\"\/wp-content\/uploads\/2017\/06\/3018.png\" alt=\"\" width=\"812\" height=\"984\" srcset=\"\/wp-content\/uploads\/2017\/06\/3018.png 812w, \/wp-content\/uploads\/2017\/06\/3018-248x300.png 248w, \/wp-content\/uploads\/2017\/06\/3018-768x931.png 768w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>19. Allow 500\/UDP and 4500\/UDP in Windows Firewall, as well as on your Firewall.<\/p>\n<p><a href=\"\/wp-content\/uploads\/2017\/06\/3019.png\"><img loading=\"lazy\" class=\"aligncenter size-large wp-image-141\" src=\"\/wp-content\/uploads\/2017\/06\/3019-776x1024.png\" alt=\"\" width=\"776\" height=\"1024\" srcset=\"\/wp-content\/uploads\/2017\/06\/3019-776x1024.png 776w, \/wp-content\/uploads\/2017\/06\/3019-227x300.png 227w, \/wp-content\/uploads\/2017\/06\/3019-768x1013.png 768w, \/wp-content\/uploads\/2017\/06\/3019.png 876w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h5>When using L2TP\/IPSEC on a Windows PC<\/h5>\n<p>Create and configure the <strong class=\"sbody-strong\">AssumeUDPEncapsulationContextOnSendRule<\/strong> registry value, follow these steps:<\/p>\n<ol class=\"sbody-num_list\">\n<li>Log on to the Windows Vista client computer as a user who is a member of the Administrators group.<\/li>\n<li>Click <strong class=\"uiterm\">Start,&nbsp;<\/strong>point to <strong class=\"uiterm\">All Programs<\/strong>, click <strong class=\"uiterm\">Accessories<\/strong>, click <strong class=\"uiterm\">Run<\/strong>, type <span class=\"sbody-userinput\">regedit<\/span>, and then click <strong class=\"uiterm\">OK<\/strong>. If the <strong class=\"uiterm\">User Account Control<\/strong> dialog box is displayed on the screen and prompts you to elevate your administrator token, click <strong class=\"uiterm\">Continue<\/strong>.<\/li>\n<li>Locate and then click the following registry subkey:\n<div class=\"indent\"><strong class=\"uiterm\">HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\PolicyAgent<\/strong><\/div>\n<p><span class=\"text-base\">Note <\/span>You can also apply the <strong class=\"sbody-strong\">AssumeUDPEncapsulationContextOnSendRule<\/strong> DWORD value to a Microsoft Windows XP Service Pack 2 (SP2)-based VPN client computer. To do this, locate and then click the following registry subkey:<br \/>\n<strong class=\"uiterm\">HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\IPSec<\/strong><\/li>\n<li>On the <strong class=\"uiterm\">Edit<\/strong> menu, point to <strong class=\"uiterm\">New<\/strong>, and then click <strong class=\"uiterm\">DWORD (32-bit) Value<\/strong>.<\/li>\n<li>Type <span class=\"sbody-userinput\">AssumeUDPEncapsulationContextOnSendRule<\/span>, and then press ENTER.<\/li>\n<li>Right-click <strong class=\"uiterm\">AssumeUDPEncapsulationContextOnSendRule<\/strong>, and then click <strong class=\"uiterm\">Modify<\/strong>.<\/li>\n<li>In the <strong class=\"uiterm\">Value Data<\/strong> box, type &#8220;2&#8221;<\/li>\n<li>Click <strong class=\"uiterm\">OK<\/strong>, and then exit Registry Editor.<\/li>\n<li>Restart the computer.<\/li>\n<\/ol>\n<p>Reference :&nbsp;<a href=\"https:\/\/support.microsoft.com\/en-us\/help\/926179\/how-to-configure-an-l2tp-ipsec-server-behind-a-nat-t-device-in-windows-vista-and-in-windows-server-2008\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/support.microsoft.com\/en-us\/help\/926179\/how-to-configure-an-l2tp-ipsec-server-behind-a-nat-t-device-in-windows-vista-and-in-windows-server-2008<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Steps to configure RAS (Remote Access Service) on Windows 2016 Server<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7,6],"tags":[],"_links":{"self":[{"href":"http:\/\/kswp01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts\/116"}],"collection":[{"href":"http:\/\/kswp01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/kswp01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/kswp01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/kswp01.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=116"}],"version-history":[{"count":16,"href":"http:\/\/kswp01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts\/116\/revisions"}],"predecessor-version":[{"id":280,"href":"http:\/\/kswp01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts\/116\/revisions\/280"}],"wp:attachment":[{"href":"http:\/\/kswp01.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/kswp01.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=116"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/kswp01.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}