{"id":654,"date":"2020-03-19T15:55:17","date_gmt":"2020-03-19T15:55:17","guid":{"rendered":"https:\/\/server-help.org\/?p=654"},"modified":"2020-03-19T15:55:17","modified_gmt":"2020-03-19T15:55:17","slug":"windows-vpn-server","status":"publish","type":"post","link":"https:\/\/server-help.org\/index.php\/2020\/03\/19\/windows-vpn-server\/","title":{"rendered":"Windows VPN Server"},"content":{"rendered":"\n<p>In this guide we will show you how to setup a Windows VPN Server.<\/p>\n\n\n\n<p>In this example we will be using Server 2016 but this should apply to all recent Windows Server versions.<\/p>\n\n\n\n<p>1). Open TCP port 1723 and allow GRE in your firewall<\/p>\n\n\n\n<p>2). Login to the Server with RDP<\/p>\n\n\n\n<p>3). Go to Server Manager > Manage > Add roles and features<\/p>\n\n\n\n<p>4). Click Next > Next > Next > Select Remote Access > Next > Next > Next<\/p>\n\n\n\n<p>5). Select  Direct Access and VPN and also select Routing > Add Features > Next > Next > Next > Install<\/p>\n\n\n\n<p>6). After the installation completes click on Close and go back to Server Manager.<\/p>\n\n\n\n<p>7). Click on Remote access > Right-click your Server name and click Remote Access Management.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/server-help.org\/wp-content\/uploads\/2020\/03\/1-1024x574.png\" alt=\"\" class=\"wp-image-659\" width=\"684\" height=\"383\" srcset=\"https:\/\/server-help.org\/wp-content\/uploads\/2020\/03\/1-1024x574.png 1024w, https:\/\/server-help.org\/wp-content\/uploads\/2020\/03\/1-300x168.png 300w, https:\/\/server-help.org\/wp-content\/uploads\/2020\/03\/1-768x431.png 768w, https:\/\/server-help.org\/wp-content\/uploads\/2020\/03\/1.png 1437w\" sizes=\"(max-width: 684px) 100vw, 684px\" \/><\/figure>\n\n\n\n<p>8). Click Direct Access and VPN > Click Open RRAS Management<\/p>\n\n\n\n<p>9). Right-click Server name and click Configure and Enable Routing and Remote Access.<\/p>\n\n\n\n<p>10. Click Next > Custom Configuration > Select VPN Access &amp; NAT > Finish > Start Service<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/server-help.org\/wp-content\/uploads\/2020\/03\/2.png\" alt=\"\" class=\"wp-image-661\" width=\"674\" height=\"511\" srcset=\"https:\/\/server-help.org\/wp-content\/uploads\/2020\/03\/2.png 833w, https:\/\/server-help.org\/wp-content\/uploads\/2020\/03\/2-300x228.png 300w\" sizes=\"(max-width: 674px) 100vw, 674px\" \/><\/figure>\n\n\n\n<p>11). Right-click Server name and click Properties.<\/p>\n\n\n\n<p>12). Go to the IPv4 tab and select Static Address pool > Add<\/p>\n\n\n\n<p>13). Fill this in for the local IP range you want, or reference the screenshot below as an example then click Ok.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/server-help.org\/wp-content\/uploads\/2020\/03\/4.png\" alt=\"\" class=\"wp-image-664\" width=\"669\" height=\"508\" srcset=\"https:\/\/server-help.org\/wp-content\/uploads\/2020\/03\/4.png 834w, https:\/\/server-help.org\/wp-content\/uploads\/2020\/03\/4-300x228.png 300w, https:\/\/server-help.org\/wp-content\/uploads\/2020\/03\/4-768x583.png 768w\" sizes=\"(max-width: 669px) 100vw, 669px\" \/><\/figure>\n\n\n\n<p>14). In the Routing and Remote Access window expand IPv4 and Right-click NAT.<\/p>\n\n\n\n<p>15). Click New Interface > Select Ethernet 0. Select Public Interface connected to the internet and also select Enable NAT on this interface.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/server-help.org\/wp-content\/uploads\/2020\/03\/6.png\" alt=\"\" class=\"wp-image-672\" width=\"678\" height=\"513\" srcset=\"https:\/\/server-help.org\/wp-content\/uploads\/2020\/03\/6.png 832w, https:\/\/server-help.org\/wp-content\/uploads\/2020\/03\/6-300x228.png 300w, https:\/\/server-help.org\/wp-content\/uploads\/2020\/03\/6-768x582.png 768w\" sizes=\"(max-width: 678px) 100vw, 678px\" \/><\/figure>\n\n\n\n<p>16). Now the VPN Service has been enabled, but we still need to allow user access. Please close the Routing and Remote Access Window.<\/p>\n\n\n\n<p>17). Open Windows Control Panel > Administrative tools > Computer Management<\/p>\n\n\n\n<p>18). Local Users and Groups > Users > Right-click Administrator > Properties<\/p>\n\n\n\n<p>19). Click on the Dial-in tab and select Allow Access under Network Access Permission > Click Ok<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/server-help.org\/wp-content\/uploads\/2020\/03\/3.png\" alt=\"\" class=\"wp-image-663\" width=\"633\" height=\"804\" srcset=\"https:\/\/server-help.org\/wp-content\/uploads\/2020\/03\/3.png 408w, https:\/\/server-help.org\/wp-content\/uploads\/2020\/03\/3-236x300.png 236w\" sizes=\"(max-width: 633px) 100vw, 633px\" \/><\/figure>\n\n\n\n<p>20). Now we will configure our local Windows PC to connect to the new VPN Server.<\/p>\n\n\n\n<p>21). Open Windows Control Panel > Network and Sharing Center > Setup a new Connection or Network > Connect to a workplace.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/server-help.org\/wp-content\/uploads\/2020\/03\/5-1024x882.png\" alt=\"\" class=\"wp-image-669\" width=\"663\" height=\"570\" srcset=\"https:\/\/server-help.org\/wp-content\/uploads\/2020\/03\/5-1024x882.png 1024w, https:\/\/server-help.org\/wp-content\/uploads\/2020\/03\/5-300x258.png 300w, https:\/\/server-help.org\/wp-content\/uploads\/2020\/03\/5-768x661.png 768w, https:\/\/server-help.org\/wp-content\/uploads\/2020\/03\/5.png 1116w\" sizes=\"(max-width: 663px) 100vw, 663px\" \/><\/figure>\n\n\n\n<p>22). Use my Internet Connection (VPN).<\/p>\n\n\n\n<p>23). Fill in the Internet Address with your Server&#8217;s IP > Create.<\/p>\n\n\n\n<p>24a).  If you are using Windows 10 go to Settings > Network &amp; Internet > VPN > Select VPN Connection > Connect.<\/p>\n\n\n\n<p>24b).  If using a Windows client older than Windows 10 you will now see a new connection in your Network Adapters. Right-click the VPN Connection you created and click Connect.<\/p>\n\n\n\n<p>Now that you are connected you will see that your IP reported to websites and apps now show as your Server&#8217;s IP. <\/p>\n\n\n\n<p>Something to be aware of that depending on the distance from your PC to your server your bandwidth will be less than the server is capable of.<\/p>\n\n\n\n<p>For example from the server you will see a full 400mbps is available.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.speedtest.net\/result\/9152224889.png\" alt=\"\" width=\"386\" height=\"221\"\/><\/figure>\n\n\n\n<p>But when connecting using your VPN you will instead see speeds similar to the screenshot below.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.speedtest.net\/result\/9152229821.png\" alt=\"\" width=\"387\" height=\"221\"\/><\/figure>\n\n\n\n<p>This speed is completely normal and expected.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this guide we will show you how to setup a Windows VPN Server. In this example we will be using Server 2016 but this should apply to all recent Windows Server versions. 1). Open TCP port 1723 and allow GRE in your firewall 2). Login to the Server with RDP 3). Go to Server&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts\/654"}],"collection":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/comments?post=654"}],"version-history":[{"count":15,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts\/654\/revisions"}],"predecessor-version":[{"id":675,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts\/654\/revisions\/675"}],"wp:attachment":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/media?parent=654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/categories?post=654"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/tags?post=654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}