How to Create a VPN Server on a Windows Computer and Connect to It from Another ComputerJun 01, 2021
Hello everyone! This video will show you how to
and how to
serveron a Windows
and how to
connectto such a
anotherPC. Such a VPN server can be used: • for anonymous web browsing, since the real IP address is hidden; • to bypass the blocks set by the network administrator or the restrictions of the Internet provider; • encrypt the transmitted data; • to access websites blocked in your country; • to enable downloading of files from p2p networks (such as torrents); • to protect your
connected to free WiFi. Certainly, if you need a VPN to bypass your provider's blocking of some websites, or simply to hide your IP address when you browse the web, you don't have to set up a VPN server.
Instead, you can use ready-made services. You can learn more from
anothervideo. Find the link in the description: So,
createa VPN server on your computer: • go to 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 this user to access this computer and network. Other computers will connect here via VPN. • Next. • Check the box next to the "Via Internet" option. • Next. • In this window, do not change anything and click "Allow access" • Now the VPN server is created.
More Interesting Facts About,
how to create a vpn server on a windows computer and connect to it from another computer...
Now let's imagine that this computer will work as a kind of server. Let's create a folder that other computers will have access to via VPN. Make it shared. To do so: • Right click on it / Properties / Sharing / Advanced Sharing • Check the box next to "Share this folder" • Then click "Permissions" and allow "Full Control" • Apply. OK. Now let's move on to the computer of an imaginary user who needs to connect to this newly created VPN server and gain access to the folder. To connect to the VPN server: • Open Settings / Network & Internet / VPN / Add a VPN connection • When you open the connection settings menu, choose the VPN provider as "Windows (Built-in)" • Connection name – Any will see this name in the list of other network connections • Server name or address In this field, enter the IP address or the name of the computer where the VPN server is connected.
That is why we return to the server to find out your IP address. There are several ways to do it. For example, you can go to the 2ip.ru website, or you can ask your network administrator. • Enter it in the field "Name or address of the server" • Type of VPN - automatic • In the fields "Username" and "Password" you need to enter the name and password of the account that is active on the server computer. I mean the user next to which you checked the box when creating the VPN server. • After that, click "Save" and you will see that a VPN connection is ready.
To use it to connect to our VPN server, click on it and select "Connect". Sometimes when connecting, you may see an error saying "A connection to the remote computer could not be established." You may need to change the network settings for this connection." In this case, you must modify the Incoming Connection settings on the server computer. To be exact, specify the set of possible connected IP addresses. To do this: • go to the server computer • Network and Sharing Center / Change adapter settings • Right click on Incoming connection / Properties / Networks / IP v4 / Properties • Check the box next to "Specify IP addresses" • And enter the address group.
You can use any one, but you can't enter just one. • ОК / ОК After that, go back to the computer trying to connect and try again. Now the computer is connected to the VPN server. Go to network connections and you will see your new connection that you just created, with the name you gave it when you created it. To access the shared folder on the computer that is the VPN server: • Run the "ipconfig" command on the computer where you created the VPN server and find the IP address of the VPN network you created, or ask the administrator of this network . • After that, open Explorer on the user's computer and enter this IP address in the address field, placing two backslashes before the address.
If nothing happens, the problem could be with the server computer's firewall settings. So in this case go to the VPN server computer. When you are there, go to Control Panel / Windows Firewall / Advanced Settings Go to Inbound Rules and look for the rule named “Network Logon (NP-In) Service”. Click on it. As you can see, it is disabled. Turn it on. Now go to the client computer and try to access the shared folder on the server computer again. Enter the user password for the VPN server. • Here is the folder we shared earlier. I've just shown how to connect directly to the computer that is a VPN server.
But if you're connected to a network through a router, you need to set up forwarding for port 1723. Here's how you do it. • Go to the settings of the router through which the VPN computer server is connected to the network. In one of my previous videos, I have shown it in detail. You will find the link in the description: • Go to the menu Forwarding / Virtual servers / Add new I have already configured forwarding on my computer. That is why I will show it in my example. • Enter the service port - 1723 • IP address - address of the computer where the VPN server will be created.
In our case, it is... . How can you learn it? There are several ways to do it. One of them: Enter the ipconfig command at the command prompt. We need the IPv4 address of the main network adapter. It is usually the first on the list. The other two, in my case, are the virtual machine adapters. • Protocol – All; Status: Enabled • Save • Some routers need to be rebooted after that. • That's all. As a result, incoming VPN connections will be redirected to this PC. And the last. Once the VPN connection is ready, the client computer will be disconnected from the Internet.
To ensure that you still have Internet access when the VPN connection is active, do the following: • When the VPN is disconnected, go to network connections on the client computer • Right-click on the created VPN connection and select Properties / Networks / IP v4 / Properties / Advanced • In the "IP Settings" tab, uncheck the box next to "Use default gateway on remote network". • That's all. The next time you connect to the Internet, the connection will not be lost. In the process of creating a VPN connection, some additional problems may appear - errors or glitches. They cannot be covered in a short video, as there are a lot of settings.
If you have any questions, please leave a comment to ask one. That is all for now. If you found this video helpful, please hit the like button below. Subscribe to the Hetman Software channel. Thanks for watching. Good luck.
If you have any copyright issue, please Contact