在过去几年中,我们看到虚拟专用网(Virtual Private Network)( VPN ) 的使用有所增加,而且这一趋势似乎并没有放缓。越来越多的人希望绕过区域限制,从舒适的家中安全地远程进入他们的办公室网络,并使用位于不同国家的服务器玩在线游戏。使用VPN,这一切都太容易了。
一旦你去寻找合适的 VPN(looking for the right VPN)就会出现问题。哪个效率最高?最安全?我应该选择免费设置或订阅计划吗?弄清楚这类事情可能会占用您根本没有的宝贵时间。那么为什么不创建并连接到您自己的VPN呢?
Windows 自带免费的VPN服务器功能。(VPN)它通过使用点对点隧道协议 ( PPTP ) 来实现这一点,如果您不太精通技术,设置起来可能会令人困惑。
但为了帮助您避免寻找“完美VPN ”的障碍,我们将继续指导您如何设置和使用 Windows 10 的内置VPN服务。
如何设置和使用 Windows 10 的内置 VPN 服务(How To Set Up & Use Windows 10’s Built-in VPN Service)
内置的Windows 10 VPN服务是一项相当有趣的功能,但也有一些限制。这些限制可能使该过程不太适合您需要VPN的目的。如前所述,一点技术知识对于前进几乎是必不可少的。
为了让事情顺利进行,您需要进行一些网络和端口配置。从您的路由器转发端口的能力将是必要的。您还冒着将Windows和您为服务器选择的端口暴露给恶意进入的风险。
为了帮助避免这种情况,您需要考虑使用与用于PPTP的默认端口不同的端口。强密码也是必须的,并且应该包含数字、字母和特殊字符的组合。
VPN 服务器(The VPN Server)
创建 Windows 10 VPN服务器将带您进入您可能不熟悉的领域。
- 首先在任务栏搜索中输入ncpa.cpl并打开Network Connections。它可能显示为控制面板(Control Panel)项目。
- 打开“网络连接(Network Connections)”窗口后,按键盘上的Alt键以显示菜单选项卡。
- 单击(Click)“文件(File)”选项卡以拉出菜单,然后选择“新建传入连接”(New Incoming Connection)。
- 选择(Choose)您要提供对VPN连接的访问权限的用户帐户。
- 从安全角度来看,创建一个全新的受限用户帐户可能是明智之举。通过这种方式,您可以保护您的主要用户帐户免受潜在风险的影响。为此,请单击添加某人(Add someone )并填写用户名和密码字段。
- 选择用户后,单击下一步(Next )按钮。
- 选择通过互联网(Through the Internet)。它很有可能是唯一的选择,但如果您仍然不幸拥有拨号硬件,那么该选项也将可用。
- 下一个窗口将让您选择要为传入连接启用的网络协议。
- 仅选中您希望启用访问的那些,然后单击Allow access。
- (Access)将为选择的用户配置访问权限,然后显示执行此操作所需的信息。这可能需要几秒钟。
您的 Windows 10 VPN服务器现已准备就绪。
配置路由器(Configuring The Router)
为确保路由器知道将哪种类型的流量发送到正确的计算机,您需要设置端口转发。这将要求您了解如何正确转发路由器上的端口。
将端口 1723转发(Forward)到您的计算机(设置Windows 10 VPN服务器的那个)IP 地址。您可以通过登录路由器的设置页面来完成所有这些操作。为了增强您的安全性,请考虑向路由器添加端口转发规则。一种将随机外部端口转发到计算机上的内部端口的一种。
防火墙也是仅允许指定 IP 地址访问的有效选项。
创建 VPN 配置文件(Creating a VPN Profile)
在创建VPN配置文件之前,您将需要计算机的公共 IP 地址或其动态DNS地址。前者是您的网络在 Internet 上的 IP 地址。仅当您决定使用动态DNS服务进行设置时,后者才可用。
- 由于我们专注于Windows 10,因此在任务栏搜索中输入VPN并选择弹出的选项。
- “最佳匹配”可能会显示为VPN 选项(VPN options)。再(Further)往下,如果可用,您可以直接转到添加 VPN 连接(Add a VPN connection)。
- 在添加(Add)VPN连接窗口中(VPN),您需要填写几个框。
- “VPN 提供商”框应该只有一个选项;Windows(内置)(Windows (built-in))。
- “连接(Connection)名称”可以是您想要的任何名称。这将是您在进行连接时所看到的。
- 在“服务器(Server)名称或地址”框中,键入公共 IP 地址或动态DNS地址。
- 只要您在路由器中正确配置了端口转发,您就可以将“VPN 类型”保持为自动。(Automatic )点对点隧道协议 (PPTP)(Point to Point Tunneling Protocol (PPTP))也是一种可行的选择。
- 将“登录信息类型”保留为用户名和密码(User name and password)。
- 完成后,单击保存(Save)。
建立联系(Making The Connection)
现在您已经设置了服务器、配置了路由器和VPN配置文件,您终于可以连接到您的VPN了。
- 在任务栏的最右侧,选择网络(Network)图标。
- 您可能必须单击箭头(Arrowhead)(或插入符号(Caret))图标才能找到网络(Network)图标。
- 选择您最近创建的VPN配置文件,然后单击连接(Connect )按钮。
- 应提示您输入用户名和密码。使用您在“ VPN(VPN)服务器”部分为用户创建的那些。
- 如果已连接,您应该会在 VPN 连接名称下方看到已连接。(Connected )
How to Set Up the Windows 10 Built-In VPN Service
Wе’ve seеn a rise in Virtual Private Network (VPN) usage oνer the last few years and the trend doesn’t seem to be slowing. More and more folks are wanting to get around region blocks, remоte securely into their office network from the comfort of home, and play online games with servers located in dіfferent countries. With a VPN, this is all too еasy.
The issues arise once you go looking for the right VPN. Which is the most efficient? The most secure? Do I go for a free setup or subscription plan? Figuring this sort of thing out can take up valuable time you simply don’t have. So why not create and connect to your own VPN?
Windows comes with the built-in ability to function as a VPN server, free of charge. It does this by using the point-to-point tunneling protocol (PPTP) and can be confusing to set up if you’re not too tech-savvy.
But to help you avoid the obstacle of finding “the perfect VPN” we’ll go ahead and walk you through how to set up and use Windows 10’s built-in VPN service.
How To Set Up & Use Windows 10’s Built-in VPN Service
The built-in Windows 10 VPN service is a rather interesting feature and one that comes with a few limitations. These limitations may make the process not very ideal for what you need a VPN for. As previously stated, a bit of tech knowledge is almost essential to move forward.
To get things rolling, it will take some network and port configuring on your end. The ability to forward ports from your router will be necessary. You also run the risk of exposing Windows and the port you choose for the server to malicious entry.
To help avoid this, you’ll want to consider using a different port than the default one used for PPTP. A strong password is also a must and should contain a mix of numbers, letters, and special characters.
The VPN Server
Creating a Windows 10 VPN server will take you into areas of which you may not be familiar.
- Begin by typing ncpa.cpl into the taskbar search and opening Network Connections. It may appear as a Control Panel item.
- With the Network Connections window opened, press the Alt key on your keyboard to reveal the menu tabs.
- Click the File tab to pull up the menu, and then select New Incoming Connection.
- Choose which user accounts you want to provide access to the VPN connection.
- From a security perspective, it may be wise to create a completely new, limited user account. This way you can protect your primary user account from potential exposure. To do this, click Add someone and fill out the username and password fields.
- With the user(s) selected, click the Next button.
- Select Through the Internet. Chances are good that it’s the only option but if you’re still unfortunate enough to have dial-up hardware, that option will be available too.
- The next window will have you selecting the network protocols you want to be enabled for incoming connections.
- Only check those you want access enabled and click Allow access.
- Access will be configured for the user(s) chosen and then display the information needed to do so. This could take a few seconds.
Your Windows 10 VPN server is now ready to go.
Configuring The Router
To ensure that the router knows which type of traffic to send out to the correct computer, you’ll need to set up port forwarding. This will require that you understand how to properly forward ports on your router.
Forward port 1723 to your computer’s (the one where the Windows 10 VPN server was set up) IP address. You can do all this by logging into your router’s setup page. To amp up your security, consider adding a port forwarding rule to the router. One which forwards a random external port to the internal port on your computer.
A firewall is also a valid option to allow only specified IP addresses access.
Creating a VPN Profile
Before you can create a VPN profile, you’re going to need either your computer’s public IP address or its dynamic DNS address. The former is your network’s IP address on the internet. The latter will only be available if you decided to set one up using a dynamic DNS service.
- Since we’re focusing on Windows 10, type VPN into the taskbar search and select the option that pops up.
- The “best match” will likely show as VPN options. Further down, if available, you can go directly to Add a VPN connection instead.
- In the Add a VPN connection window, you’ll need to fill out a few boxes.
- The “VPN provider” box should only have one option; Windows (built-in).
- The “Connection name” can be anything you want. This will be what you see when you go to make the connection.
- In the “Server name or address” box, type the public IP address or dynamic DNS address.
- You can keep the “VPN type” as Automatic so long as you properly configured the port forwarding in the router. Point to Point Tunneling Protocol (PPTP) is also a viable option.
- Keep “Type of sign-in info” as User name and password.
- Once finished, click Save.
Making The Connection
Now that you have the server set up, the router configured, and a VPN profile, you can finally connect to your VPN.
- On the taskbar, to the far-right, select the Network icon.
- You may have to click on the Arrowhead (or Caret) icon to locate the Network icon.
- Select your recently created VPN profile and click on the Connect button.
- You should be prompted for a username and password. Use the ones you created for the user in the “The VPN server” section.
- If connected, you should see Connected just below the VPN connection name.