当前位置:首页 > CN2资讯 > 正文内容

Windows Server 2012 SSTP VPN

1天前CN2资讯

If you want to build a ××× to transfer files securely to and from your server and a remote location and you want to use Windows Server 2012, then an SSL oriented ××× will be method of choice. SSL is the same technology your bank, Amazon, and the rest of the world uses to keep communication over the internet private. SSL uses encryption technology.Basic information about SSL is available here.

SSL can be used for other forms of secure file transfer in the Windows world, such as WebDAV, but this article is about using and building a secure type of ××× known commonly as SSTP. Windows Server has technology built in that make an SSTP ××× relatively simple to build. Windows PC does not include SSTP ××× server technology as a part of Windows desktop, but you can make a Windows desktop PC a secure WebDAV server, if you want. Windows desktop can easily be made into an SSTP client that connects to an SSTP server.

You Have Choices

Windows Server 2012 allows you to build an SSTP ××× in three different ways. They range from ridiculously simple to simple but slightly tedious. By ‘simple’, I mean simple assuming you feel comfortable with SSL and certificates. Enough information to ground you firmly can be found here,here, here, here, and here. I wish I could say the entire concept was ‘snap the fingers easy,’ but if it were, you wouldn’t be reading this and everyone would already know how to do it.

Regardless of the choices you make on the server, the client PC will connect the same way. There’s only one way to make a network connection to an SSTP ××× from a Windows PC.

Port 443 on your router will also need to be forwarded to your ××× server. Don’t forget to install your root certificate on all clients and the server.

I’m going to try to describe all three methods here.

Choice 1: Anywhere Access

If you have Windows Server 2012 Essentials, then you can use the Anywhere Access wizard to create a secure SSTP ××× along with remote access. Read Windows Server 2012 R2 Essentials Anywhere Access. The Anywhere Access wizard is ridiculously simple to use, although managing SSL certificates may be a little confusing if you’ve never been exposed to them in the past. You don’t need to read any more of this page unless you’re curious.

Choice 2: Using the SSL Certificate Bound to Your Web Server

IIS and the Certificate Signing Request describes how to link an SSL certificate to your Windows Server Internet Information Services (IIS) web site. Afterward, you need to load the Routing and Remote Access role and associate the web site certificate with a field on the Security tab of the serverProperties by selecting it from a drop down box.

Choice 3: Using AD CS to Make Your SSTP Certificate Without Involving IIS In Any Way

This is a traditional way to build an SSTP ×××. If you look for YouTube videos on this subject, this technique will be the one most often illustrated. You’ll need to load the Active Directory Certificate Services (AD CS) role and the Certification Authority Web Enrollment feature. Since you’re most likely managing a small, one server environment, you’ll configure AD CS as an Enterprise Root Server. If you’re configuring a multi-server environment with many users in an Active Directory domain, then you need more information than I am providing because AD CS can take on an entirely different scope in that instance. After you use AD CS to build your SSTP certificate, you also modify Routing and Remote Access as described above in Choice 2.

How To Do It

Choice 2 & 3: Modify The User Profile

If you are building your own SSTP ××× connection, you need to modify the user profile of every user who will access it. This is the same modification you make for PPTP ××× users.

____________________

Choice 3 only: Use AD CS to Create and Install SSTP Certificate Without IIS

In spite of the 29 pictures below, this is not hard, just tedious. Afterward, you configure Routing and Remote Access in the next section.

In summary, you first create an MMC console with the Certificate Template, Certificate Authority, andCertificate snap-ins. When given a choice, you add them to the computer account and / or local computer. If you understand that, you’ve eliminated about 1/3 of the pictures.

Next you duplicate the IPSec template and give the duplicate specific characteristics by flipping though the tabs.

  • Subject Name: Supply in the request

  • General: Give the template display name a friendly name

  • Request Handling: Allow private key to be exported

  • Extensions: Add Server Authentication to Application Policy

Thirdly, you go back to the MMC, select Certificate Authority / Certificate Template, right click, New / Certificate Template To Issue; then select the friendly name you made up in the step above.

Finally, you go back to the MMC, select the Certificates snap in / Personal / Certificates / right click / All Tasks / Request New Certificate. Click through until you see your friendly name. Underneath you’ll see some blue lines. Click for additional configuration. Add a common name and type your URL in the box underneath. Apply it.

Now you’re ready to configure Routing and Remote Access and link the certificate to your secure ×××.

MMC Snap-In Selections:

____________________

Duplicate the IPSec Template

In the right, select Certificate Templates. In the center, select IPSec. Right Click. Duplicate Template.

###

Fill in the following tabs as illustrated below.

____________________

Issue the New Template

Return to the MMC and select Certificate Authority. Expand it. Select Certificate Template / Right click / New / Certificate Template to Issue. Select your new template.

Add the Certificate to the Certificate Store

In these final steps, you go back to the MMC and select the Certificates snap-in. Select Certificates / Personal / Right Click / All Tasks / Request New Certificate. Keep clicking through until you see the screen with your certificate and the blue underlined text. Click on the blue text and configure as illustrated, except use your URL and not the one in the picture.

____________________

Done. Now for Routing and Remote Access.

Choice 2 and 3: Install and configure Routing and Remote Access

The following p_w_picpaths were copied from Windows Server 2012 PPTP ××× since, except for the last p_w_picpath, the installations are identical. Once you’ve loaded the Routing and Remote Access role, you could use the following p_w_picpaths to configure a ××× on Windows Server 2008 R2 if you wanted to.

Install the Routing and Remote Access Role

Configure Routing And Remote Access Services

Right click the selection next to the red mark. Select Configure and Enable Routing and Remote Access. The wizard will nag you about including DirectAccess. Just select ××× only. DirectAccess is an always on SSTP ×××.  The client must be in a domain and running Windows 7 Enterprise or Ultimate or the equivalent Windows 8 version. DirectAccess is more complicated to install than a typical SSTP ××× or a secure WebDav Server.

###

Click Next.

###

Select Custom Configuration.

###

Select ××× Access

###

Done.

###

Start the Service.

###

Right click the server name and select Properties.

###

Select the IPv4 tab. Select static address pool. Click Add.

###

Type in a range on your local network for IP addresses. The ××× server will give the client PC a local IP address within this range. Make it relatively wide so it won’t conflict with one already in use on your local network. Or, better yet, sign on to your router and reserve a range if your router has this feature. Enter that range here.

###

Select the Security tab. In the drop down box toward the bottom, select your SSL certificate.

Done. Now Add A Network Connection to your Client PC.

____________________

Configuring The PC for ××× Use

The only tricky part here is to add a value named NoCertRevocationCheck to the Windows registry. The spelling and capitalization have to be identical. Otherwise, the ××× will not connect.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SstpSvc\Parameters

###

Open the Network and Sharing Center and click Set up A New Connection or Network. Then Connect to a Workplace.

###

Click Use my Internet Connection (×××)

###

Fill in the blanks. Don’t connect to the internet just yet.

###

Type in the designated user and password.

###

Next, you need to change a tab on the properties of the connection you just created. Find the ××× connection by left clicking on the network icon in the lower right corner of the Desktop. Right click on the new ××× connection and select Properties. Change it to look like this. Then Connect.

###

If you return to the Network and Sharing Center and  find the connection while it is open, the status should look like this. It confirms you are on a secure ×××. Done.

____________________

About these ads


转自:https://advancedhomeserver.com/windows-server-2012-sstp-vpn/

    你可能想看:

    扫描二维码推送至手机访问。

    版权声明:本文由皇冠云发布,如需转载请注明出处。

    本文链接:https://www.idchg.com/info/32549.html

    分享给朋友:

    “Windows Server 2012 SSTP VPN” 的相关文章

    解析cn2gt:全球网络传输的新标杆

    在数字化转型的浪潮中,企业对网络传输的依赖程度日益加深。无论是数据的实时传输、跨国通信,还是云服务的稳定性,网络质量已成为企业竞争力的关键因素之一。在复杂的国际网络环境中,延迟、丢包、抖动等问题常常困扰着企业,影响业务的正常运行。在这样的背景下,cn2gt以其实力和技术脱颖而出,成为全球网络传输领域...

    全面解析服务器与主机:性能优化与选择策略

    1.1 服务器与主机的定义与基本概念 在信息技术的世界中,服务器和主机是两个不可或缺的概念。我常常将服务器视为一个强大的计算机,专门用于处理、存储和管理数据。它主要面向网络上的其他设备,承担着提供服务的重任。比如,网站的后台就是一个服务器,负责处理访问请求、存储用户数据等。而主机则是一个更广泛的术语...

    Ubuntu 多人远程办公的安装与配置指南

    安装和配置远程桌面软件 在远程办公和团队协作日益成为常态的今天,合理配置远程桌面软件显得尤为重要。在Ubuntu的环境下,安装和配置xrdp和vncviewer等工具,可以让多个用户方便地进行远程访问,提高工作效率。下面,我将一步步带你进行相关的软件安装和配置。 1. 安装xrdp 首先,我们要安装...

    Virmach Coupon 让您轻松获取高性价比的VPS服务

    在今天的网络世界中,寻找高性价比的虚拟专用服务器(VPS)和云托管服务是一项挑战。Virmach正是在这样的背景下脱颖而出。总部位于加利福尼亚州洛杉矶的Virmach,以其多样的服务和全球级的数据中心而闻名,满足了不同用户的需求。无论是新手小白还是经验丰富的开发者,Virmach都能提供适合他们的解...

    如何选择适合的免费服务器:开发者与小团队的最佳指南

    免费服务器概述 在如今的数字时代,免费服务器成为了许多开发者和企业的热门选择。我们常常需要一些力量来支撑我们的项目,而这时候,免费服务器就能提供一个很好的解决方案。简单来说,免费服务器是一种不需要支付费用的虚拟专用服务器,允许用户在一定的使用条件下进行开发、测试或运行小型项目。 我记得刚接触云计算时...

    深入了解LOC VPS:选择、评测与未来发展趋势

    LOC VPS,顾名思义,是一种基于位置的虚拟专用服务器。简单来说,LOC VPS是一种通过虚拟化技术在数据中心创建和管理的服务器环境。它为用户提供了一种灵活、可扩展的计算资源,可以满足不同需求的业务。相较于物理服务器,LOC VPS在资源利用率、成本和管理上都更加高效。 LOC VPS有几个显著的...