Как создать VPN сервер на компьютере с Windows и подключится к нему с другого ПК 💻↔️🖥️

Hello everyone! This video is about how to create a VPN server on a computer. with Windows and connect to it from another PC. Such a VPN server can be used: • for anonymous actions on the Internet by hiding the real IP address; • to bypass the blocking of the network administrator or provider restrictions; • for encryption of transmitted data; • for access to closed sites from your country; • to enable download files in p2p networks (torrents, etc.); • to protect your computer when connected to a free WiFi.

Of course, if you need a VPN to bypass blocking provider of certain sites or simple hiding your IP address when surfing the Internet, then for this you do not be sure to set up a VPN server. You can use ready-made services. For details, see another video, link which is in the description: So, to create a VPN server on your computer: • go to the Network and Sharing Center / Change adapter settings • In the Network connections folder, press the Alt button, and select File / New incoming connection…. • Check the box next to the username, to allow him access to this computer and network. It is to it that other PCs will connect via VPN • Next • Check the box opposite functions "Via the Internet". • Next • Here we leave everything without changes and click "Allow access" • VPN server has been created. Now, let's imagine that this computer will be be a kind of server. Let's create a folder on it, to which in the future we will provide access to other computers via VPN.

And we will make it public. To do this: • Click on it with the right mouse button / Properties / Access / Advanced configuration • Check the box next to "Open public access to folder "• Next, click the Permissions button and allow Full Control • Apply. OK. Next, we go to the computer of our conditional user, which needs to connect to our just created VPN server, and access the folder. To connect to a VPN server: • Open Options / Network & Internet / VPN / Add VPN Connection • In the open connection setup menu, set as a Windows (embedded) service provider • Connection name – any. So you will see it among other network connections. • Server name or address. In this field you need to enter the IP address or computer name, on which the VPN server is created. Therefore, we return to our server computer. and find out its IP address. There are different ways. You can go, for example, to the site 2ip.ru. Or ask your network administrator. • We enter it in the field of the connected PC – Name or address of the server. • VPN type – automatically • In the Username fields and password, enter your account name and password server computer.

The user we checked the box next to during VPN server creation. • After that, click "Save" and see that The VPN connection has been created. To use it to connect to our VPN server, click on it and click Connect. Sometimes, when connecting, you may encounter with such an error: “Unable to connect to the remote computer. You may need to change the network connection settings. " In this case, you need to make changes to the Inbox settings. connecting the server computer.

Namely, specify the pool of possible connected IP addresses. To do this: • go to the computer server • Network Control Center and Sharing / Change adapter settings • Click with the right mouse button on the Incoming connection / Properties / Network / IP version 4 / Properties • Check "Specify IP addresses explicitly" • And enter the pool of desired addresses. Anyone. One is not allowed. • OK / OK After that, we go back to the connected computer and try to connect again. The computer is connected to the VPN server. Go to Computer Network Connections and you will see there, a new connection just created. With the name we gave it when we created it. To access a shared folder on a computer VPN server: • Run the ipconfig command on the computer with the created VPN server and see The IP address of the created VPN network. Or ask your network administrator for it. • After that, open the explorer on the computer user and enter the given IP address by prefixing it with two backslashes.

If nothing happens as a result, then the reason this may be the firewall settings of the server computer. Therefore, in this case  go to the computer VPN server. We go to it in the Control Panel / Firewall Windows Defender / Advanced Options  Go to Inbound Rules, and find a rule here called Login Service to the network (NP-In) ". Click on it. As you can see, this rule is disabled.

We turn it on.  Now go to the client's computer and try to go to the shared folder of the server computer again.  Enter the password of the VPN-server computer user. • Here is an earlier shared folder. This I showed the connection to the computer VPN server – directly. If it is connected to the network via a router, then in order to connect to it on a router you need configure port forwarding 1723. How to do it: • Go to settings the router through which the computer is connected to the network VPN Server On How To Do It Me already told in one of his videos.

Link in the description: • And go to the Forwarding menu / Virtual servers / Add I have already configured forwarding. Therefore, I will show you by example. • Enter the Service Port in it – 1723 • IP address: the address of the computer on which the VPN server. In our case, this is…. How do you recognize him? There are different ways. One of them: enter the ipconfig command at the Command prompt. We need the "IPv4 address" of the primary network adapter. He is usually the first on the list. The other two, in my case, are virtual adapters cars. • Protocol – Everything; Status – Enabled • Save • On some routers a reboot is required after that. • All. As a result, external VPN connections will be forwarded on this PC. And the last thing. After the VPN connection is made, on the client the computer will be disconnected from the Internet. So that it does not disappear with an active VPN connection Internet, do the following: • With the VPN connection disconnected, go to the network connections of the client computer • Click the right mouse button on the created VPN connection and select Properties / Network / IP version 4 / Properties / Advanced • In the "IP Settings" tab, uncheck the box opposite the function “Use the default gateway in the remote networks ".

• All. The next time you connect, the Internet will not be lost. In the process of creating a VPN, connections may arise additional nuances: errors or failures. You can't cover them all in one short video. After all, there are a lot of settings. If you have any further questions – ask them in the comments. And that's all for now. Like this video useful for you. Subscribe to the Hetman Software channel. Thank you all for watching. Goodbye to everyone..

You May Also Like