您是否希望在 Windows 10 上设置 VPN?(Are you looking to set up a VPN on Windows 10?)但是您是否对如何进行感到困惑?别担心,本文将逐步指导您如何在Windows 10 PC上配置VPN 。
VPN代表虚拟专用网络(Virtual Private Network),它为用户提供在线隐私。每当有人浏览互联网时,一些有用的信息就会以数据包的形式从计算机发送到服务器。黑客可以通过侵入网络访问这些数据包,并且可以掌握这些数据包,并且可以泄露一些私人信息。为了防止这种情况,许多组织和用户更喜欢VPN。VPN(A VPN)会创建一个隧道(tunnel),您的数据在该隧道中被加密,然后发送到服务器。因此,如果黑客入侵网络,那么您的信息也会受到保护,因为它是加密的。VPN还允许更改您的系统位置,以便您可以私下访问互联网,还可以查看您所在地区被阻止的内容。因此,让我们从在Windows 10中设置VPN的过程开始。
如何在 Windows 10 上设置 VPN
查找您的 IP 地址(Find Your IP Address)
为了设置VPN,您需要找到您的IP 地址(IP address)。知道IP 地址(IP address)后,只有您能够连接到VPN。要查找 IP 地址并继续前进,请按照以下步骤操作。
1.在您的计算机上打开网络浏览器。
2.访问com或任何其他搜索引擎。
3.输入什么是我的IP地址( What is My IP address)。
4.您的公共IP地址(public IP address)将被显示。
动态公共IP 地址(IP-address)可能会随着时间而变化。要解决这个问题,您必须在路由器中配置DDNS设置,这样当系统的公共IP 地址(IP-address)发生变化时,您不必更改VPN设置。要在路由器中配置DDNS设置,请按照以下步骤操作。(DDNS)
1.单击开始(Start)菜单或按Windows 键。(Windows key.)
2.键入CMD,右键单击命令提示符(Command Prompt)并选择以管理员身份运行(Run as Administrator)。
3.键入ipconfig,向下滚动并找到默认网关。
4.在浏览器中打开默认网关IP地址,(IP-address)输入用户名和密码登录路由器。(log in to your router by providing username and password.)
5.在高级选项卡(Advanced tab)下找到DDNS 设置(DDNS settings),然后单击 DDNS 设置。
6.将打开一个新的DDNS设置页面。选择No-IP作为服务提供商。在用户名中输入您的电子邮件地址(email address),然后输入密码(password),在主机名中输入myddns.net。
7.现在您需要确保您的主机名是否可以及时收到更新。要检查此登录到您的No-IP.com帐户,然后打开可能位于窗口左侧的DDNS设置。(DDNS)
8.选择修改(Modify),然后选择主机名IP地址(IP-address)并将其设置为1.1.1.1,然后单击更新主机名。(Update Hostname.)
9.要保存设置,您需要重新启动路由器。
10.您的DDNS设置现已配置,您可以继续进行。
设置端口转发(Set up Port forwarding)
要将 Internet 连接到系统的VPN服务器,您必须转发端口 1723(forward port 1723)以便可以建立VPN连接。要转发端口 1723,请执行以下步骤。
1. 如上所述登录路由器。
2.查找网络和Web。(Network and Web.)
3.转到端口转发或虚拟服务器或NAT服务器。(Port forwarding or Virtual Server or NAT server.)
4.在端口(Port)转发窗口中,将本地端口设置为1723,将协议设置为TCP,并将端口范围(Port Range)设置为47。
在 Windows 10 上制作 VPN 服务器(Make a VPN Server on Windows 10)
现在,当您完成DDNS配置以及端口转发过程后,您就可以为Windows 10 pc设置VPN服务器了。
1.单击开始(Start )菜单或按Windows 键。(Windows key.)
2.键入控制面板(Control panel),然后从搜索结果中单击控制面板。(Control Panel)
3.点击网络(Network)和互联网(Internet),然后点击网络和共享中心(Network and Sharing Center)。
4.在左侧窗格中,选择更改适配器设置(Change adapter settings)。
5.按ALT键,单击 File 并选择New Incoming Connection。
6.选择电脑上可以访问VPN的用户,选择下一步。(Next.)
7.如果您想添加某人,请单击“添加某人(Add Someone)”按钮并填写详细信息。
8.通过复选框标记互联网(Internet through),然后单击下一步(Next)。
9.选择Internet 协议版本 4 (TCP)。(Internet Protocol Version 4 (TCP).)
10.选择属性( Properties)按钮。
11.在传入 IP 属性(Incoming IP Properties)下,选中“允许呼叫者访问我的局域网(Allow callers to access my local area network)”框,然后单击指定 IP 地址( Specify IP addresses)并按照图像中提供的方式填写。
12.选择确定(OK),然后单击允许访问。( click on allow access.)
13.点击关闭。
建立 VPN 连接以通过防火墙(Make a VPN connection to go through the Firewall)
要让VPN服务器正常工作,您需要正确配置 Windows 防火墙设置。如果这些设置未正确配置,则VPN服务器可能无法正常工作。要配置 Windows 防火墙,请按照以下步骤操作。
1.单击开始(Start)菜单或按Windows 键。(Windows key.)
2.在开始菜单搜索中输入允许应用程序通过windows防火墙。(app through windows firewall)
3.点击更改设置(Change Settings)。
4.寻找路由(Routing)和远程( Remote)访问并允许私有(Private)和公共(Public)。
5.单击确定保存更改。
在 Windows 10 中建立 VPN 连接(Make a VPN connection in Windows 10)
创建VPN服务器后,您需要配置设备,包括笔记本电脑、手机、平板电脑或任何其他您想要远程访问本地VPN服务器的设备。(VPN)按照以下步骤建立所需的VPN连接。
1.按 Windows 键 + R 然后键入control并按 Enter 打开控制面板。(Control Panel.)
2.选择网络和共享中心(Network and Sharing Center)。
3.在左侧面板中,单击更改适配器设置(Change adapter settings)。
4.右键单击(Right-click on the VPN server)您刚刚创建的 VPN 服务器并选择属性(Properties)。
5.在属性中,单击常规选项卡(General tab),然后在主机(Hostname)名下键入您在设置DDNS时创建的相同域。
6.切换到安全 (Security )选项卡,然后从VPN下拉类型中选择 PPTP( select PPTP)(点对点隧道协议)。
7.从数据(Data)加密下拉列表中选择最大强度加密。(Maximum strength encryption)
8.单击确定并切换到网络选项卡。(Networking tab.)
9.取消标记TCP/IPv6 option并标记Internet 协议版本 4(Internet Protocol Version 4) ( TCP/IPv4 ) 选项。
10.单击属性(Properties)按钮。然后单击 高级 (Advanced )按钮。
11.在IP设置下,取消选中在远程网络上使用默认网关 (Use default gateway on a remote network )并单击确定。
12.按Windows Key + I打开设置,然后单击 网络和 Internet。(Network & Internet.)
13.从左侧菜单中选择VPN。
14.单击连接。(Connect.)
受到推崇的:(Recommended:)
还有许多其他提供VPN(VPN)的第三方软件,但这样您就可以使用自己的系统制作VPN服务器,然后将其连接到所有设备。
How to set up a VPN on Windows 10
Are you looking to set up a VPN on Windows 10? But are you confused about how to proceed? Don’t worry in this article we will guide you step-by-step on how to configure VPN on Windows 10 PC.
VPN stands for Virtual Private Network which gives the user privacy online. Whenever someone browses the internet then some useful information is sent from the computer to the server in the form of packets. The hackers can access these packets by trespassing the network and can get hold of these packets and some private information can be leaked. To prevent this, many organizations and users prefer a VPN. A VPN creates a tunnel in which your data is encrypted and then sent to the server. So if a hacker hacks into the network then also your information is protected as it is encrypted. VPN also allows changing your system location so that you can access the internet privately and also you can view content that is blocked in your region. So let’s begin with the process of setting up the VPN in Windows 10.
How to set up a VPN on Windows 10
Find Your IP Address
In order to set up the VPN, you need to find your IP address. With the knowledge of the IP address, only you will be able to connect to the VPN. To find the IP address and proceed forward follow these steps.
1.Open the web browser on your computer.
2.Visit com or any other search engine.
3.Type What is My IP address.
4.Your public IP address will be displayed.
There can be a problem with dynamic public IP-address which can change with time. To deal with this problem you have to configure the DDNS settings in your router so that when the public IP-address of your system changes you don’t have to change your VPN settings. To configure the DDNS settings in your router follow these steps.
1.Click on the Start menu or press on the Windows key.
2.Type CMD, right-click on Command Prompt and select Run as Administrator.
3.Type ipconfig, scroll down and find the default gateway.
4.Open the default gateway IP-address in the browser and log in to your router by providing username and password.
5.Find the DDNS settings under the Advanced tab and click on the DDNS setting.
6.A new page of DDNS settings will open up. Select No-IP as a service provider. In the username enter your email address and then enter the password, in the hostname enter myddns.net.
7.Now you need to ensure that your hostname can receive timely updates or not. To check this login to your No-IP.com account and then open the DDNS settings which will probably on the left side of the window.
8.Select Modify and then select the hostname IP-address and set it to 1.1.1.1, then click on Update Hostname.
9.To save the settings you need to restart your router.
10.Your DDNS settings is now configured and you can proceed forward.
Set up Port forwarding
To connect the internet to the VPN server of your system you have to forward port 1723 so that VPN connection can be made. To forward port 1723 follow these steps.
1.Login into the router as described above.
2.Find the Network and Web.
3.Go to Port forwarding or Virtual Server or NAT server.
4.In the Port forwarding window, set the local port to 1723 and protocol to TCP and also set the Port Range to 47.
Make a VPN Server on Windows 10
Now, when you have completed the DDNS configuration and also the port forwarding process then you are ready to set up the VPN server for Windows 10 pc.
1.Click on the Start menu or press the Windows key.
2.Type Control panel and click on Control Panel from the search result.
3.Click on Network and Internet then click on Network and Sharing Center.
4.In the left side pane, select the Change adapter settings.
5.Press the ALT key, click on File and select New Incoming Connection.
6.Select the users who can access the VPN on the computer, select Next.
7.If you want to add someone click on the Add Someone button and fills the details.
8.Mark the Internet through checkbox and click on Next.
9.Select Internet Protocol Version 4 (TCP).
10.Select the Properties button.
11.Under Incoming IP Properties, checkmark “Allow callers to access my local area network” box and then click on Specify IP addresses and fill out as provided in the image.
12.Select OK and then click on allow access.
13.Click on close.
Make a VPN connection to go through the Firewall
To let the VPN server work properly you need to configure the windows firewall settings properly. If these settings are not configured properly then the VPN server might not work properly. To configure the windows firewall follow these steps.
1.Click the Start menu or press the Windows key.
2.Type allow an app through windows firewall in Start menu search.
3.Click on Change Settings.
4.Look for Routing and Remote Access and allow Private and Public.
5.Click on OK to save changes.
Make a VPN connection in Windows 10
After creating the VPN server you need to configure the devices which include your laptop, mobile, tablet or any other device you want to give access to your local VPN server remotely. Follow these steps to make the desired VPN connection.
1.Press Windows Key + R then type control and hit Enter to open Control Panel.
2.Select Network and Sharing Center.
3.In the left side panel, click on Change adapter settings.
4.Right-click on the VPN server you just created and select Properties.
5.In the properties, click on the General tab and under Hostname type the same domain that you created while setting up DDNS.
6.Switch to the Security tab then from the type of VPN dropdown select PPTP (point to point tunneling protocol).
7.Select Maximum strength encryption from the Data encryption drop-down.
8.Click Ok and switch to the Networking tab.
9.Unmark the TCP/IPv6 option and mark the Internet Protocol Version 4 (TCP/IPv4) option.
10.Click on the Properties button. Then click the Advanced button.
11.Under the IP settings, uncheck the Use default gateway on a remote network & click OK.
12.Press Windows Key + I to open Settings then click on Network & Internet.
13.From the left-hand menu select VPN.
14.Click on the Connect.
Recommended:
There are many other third-party software that provides VPN’s, but this way you can use your own system to make a VPN server and then connect it to all the devices.