More and more cafes, hotels and other public places are acquiring their own Wi-Fi networks. But by using unprotected traffic, device owners jeopardize the security of their own data. Therefore, the relevance of private networks is increasing. To protect yourself, you can create a VPN connection. Read our article about what it is and how to configure it correctly in Windows 7.

What is a VPN connection and why is it needed?

This technology refers to a secure network created on top of an unsecured network. The VPN client, using a public network, connects to the VPN server through special protocols. The server accepts the request, verifies the client's identity, and then transmits the data. This is ensured by cryptography.

VPN capabilities allow you to use it for the following purposes:

  1. Hide your real IP and become anonymous.
  2. Download a file from a network in which access is restricted for IP addresses of the user’s country (if you use the IP address of a country that has access to this network.
  3. Encryption of transmitted data.

How to set up a connection?

Video: creating and setting up a VPN

Possible errors and solutions to problems

400 Bad Request

  1. Disable a firewall or other program that affects your security and online activities.
  2. Update the version of the browser you are using or use a different one.
  3. Delete everything that the browser writes to disk: settings, certificates, saved files, etc.

611, 612

  1. Restart your computer and check if the local network is working. If this does not solve the problem, then call technical assistance.
  2. Close some programs to improve system performance.

629

Check your firewall settings. As a last resort, it can be disabled, but this is undesirable, as the level of security will be reduced.

630

Reinstall the network adapter drivers.

650

  1. Check if “Connect via local network».
  2. There is a problem with the network card or network cable.

738

  1. Perhaps your login and password were stolen by attackers.
  2. The session was stuck. After a few minutes, try to connect again.

752

  1. The local firewall is not configured correctly.
  2. Changed access attributes (international phone number instead of the VPN server address).

789

Open VPN settings-connections, go to the “Network” tab and select “Automatic” or “Point-to-Point Tunnel Protocol (PPTP)” from the available VPN types. Then reconnect.

800

The cable, router or router may be damaged. If they are ok, then you need to check the following:

  1. LAN connection properties. They may have gotten lost or been deleted. You need to open the properties of the VPN connection, select “Internet Protocol Version 4 (TCP/IPv4)” and open its properties. Then check the correctness of the parameters: IP address, subnet mask, default gateway. As a rule, they are specified in the provider's Internet connection agreement. Alternatively, you can check the boxes next to “Obtain an IP address automatically” and “Obtain a DNS server address automatically.”
  2. If you are using a router or router, then the “Default gateway” field is 192.168.0.1 (192.168.0.1). More details about this are described in the router instructions. If it is known for sure that the access point has a default gateway of 192.168.0.1 or 192.168.1.1, then the IP addresses are in the range from 192.168.0.100 (192.168.1.100) and higher.
  3. IP address conflict (there is a yellow exclamation mark in the tray icon on the monitor). This means that there is a computer on the local network with the same IP address. If there is no router, but there is a conflict, it means that the IP address is not the one specified in the agreement with the provider. In this case, you need to change the IP address.
  4. There may be problems with the subnet mask or DNS server. They must be specified in the contract. In cases where a router is used, the DNS is often the same as the default gateway.
  5. The network card is turned off or burned out. To check the device, you need to click “Start”, select the “Run” tool and enter devmgmt.msc in the mmc line. In the window that opens, click on “Network adapters”. If it is turned off (crossed out), then you need to start it. If the card does not turn on, it means that it is burned out or has come out of the slot (the second option is only possible if the card is not built into the motherboard). If the card works, then disable it and start again. As a last resort, you can delete network card from the configuration and click on the “Update hardware configuration” icon. The system will find the network card and install it.
  6. Incorrect VPN server address. It must be indicated in the instructions. If there is no such information, then you need to contact technical service. If the Internet works without a VPN connection, then go to the provider’s website and find the VPN server address. It can be either alphabetic (vpn.lan) or in the form of an IP address. To view the VPN server address, you need to open the properties of the VPN connection.
  7. There is no money in your personal account.

Regardless of the error, if you cannot fix it yourself, you will have to contact technical support.

How to enable automatic start?


They have become commonplace. True, no one really thinks about what is behind the concept like “VPN, setup, use, etc.” Most users prefer not to delve into the jungle of computer terminology and use standard templates. But in vain. From knowledge about such connections, you can derive a lot of benefits, for example, increase traffic or connection speed, etc. Let's see what a connection to a virtual network actually is, using the example of the interaction of Windows operating systems on a desktop computer terminal and Android on a mobile device

What is VPN

Let's start with the fact that VPN setup is impossible without the general principle of understanding the essence of the connection being created or used.

If you explain in simple words, in such a network there is necessarily a so-called router (the same router), which provides computers or mobile devices trying to connect to existing network, standard additional IP addresses for access to LAN or the Internet.

In this case, a virtual network in which there is an activated VPN connection setting accepts any device connected to it and is assigned a unique internal IP address. The range of such addresses in the usual standard is from zero to the value 255.

What’s most interesting is that even when accessing the Internet, the external IP address of the device from which the request is made is not so easy to determine. There are several reasons for this, which will be discussed below.

The simplest VPN setup for Android

Almost all virtual networks using a wireless connection like Wi-Fi work on the same principle - assigning free IP addresses from the available range. It is not surprising that any mobile device can easily be connected to them (but only if it supports the appropriate connection protocols).


However, today any smartphones or tablets based on the Android OS have in their functionality the option of connecting the same Wi-Fi. The network is detected automatically if the device is within its coverage area. The only thing you may need is to enter a password. The so-called “shared” ones do not require a password at all.


In this case, you need to go to the main settings on your smartphone or tablet and activate. The system itself will determine the presence of radio modules at a distance of 100-300 meters from the device (it all depends on the model of the distribution router). Once the network is identified, a menu will be displayed with all available connections and their blocking indication. If the network has a padlock icon, it is password protected (however, this will be indicated initially in the message). If you know the password, enter it.

In public networks, where login using a password is not provided, it is even simpler. Has the network been determined? All. Click on connection and use it. As is already clear, VPN configuration in this case is not required at all. It’s another matter when you need to use another operating system (even a mobile one) to create a connection or assign the status of a VPN distribution server to a computer terminal or laptop.

Creation on Windows

With operating systems of the Windows family, not everything is as simple as most users think. Certainly, automatic recognition networks or connections via Wi-Fi, ADSL or even a direct connection via an Ethernet network card they produce (subject to the presence of installed equipment). The question is different: if the distributor is not a router, but a laptop, or how to get out of this situation?

Main settings

Here you will have to delve into the VPN settings. Windows as an operating system is considered first.


First you need to pay attention not even to the settings of the system itself, but to its accompanying components. True, when creating a connection or using it to the maximum, you will have to configure some protocols such as TCP/IP (IPv4, IPv6).

If the provider does not provide such services in automatic mode, you will have to make settings indicating previously obtained parameters. For example, when connecting automatically, the fields in the Internet browser properties for filling will be inactive (there will be a dot on the item “Obtain an IP address automatically”). That is why you do not have to enter the values ​​of the subnet mask, gateway, DNS or WINS servers manually (especially for proxy servers).

Router settings

Regardless of whether the VPN is configured on an ASUS laptop or terminal (or any other device), access to the network is still common.

To do it correctly, you need to go to its own menu. This is done using any Internet browser provided it is directly connected to a computer or laptop.


In the address field, enter the value 192.168.1.1 (this corresponds to most models), after which you should activate the enable function (using the router parameters in advanced mode). Typically this line looks like WLAN Connection Type.

Using VPN Clients

VPN clients are quite specific programs that work like anonymous proxy servers that hide the true IP address user computer when accessing a local network or the Internet.


Actually, the use of programs of this type is reduced to almost complete automation. The VPN setting in this case, in general, is not important, since the application itself redirects requests from one server (mirror) to another.

True, you will have to tinker a little with setting up such a client, especially if you want to make the maximum number of available connections in your home virtual network. Here you will have to choose between software products. And it should be noted that some applications, even the smallest in size, sometimes surpass the commercial products of many well-known brands, for which you also have to pay (by the way, a lot of money).

What about TCP/IP?

It goes without saying that almost all of the above settings affect the TCP/IP protocol to one degree or another. To date, nothing better has been invented for a comfortable and high-speed connection. Even remote ones anonymous proxy servers or local data stores still use these settings. But you need to be careful with him.


It is best to contact your provider or system administrator before changing settings. But one thing must be clearly remembered: even when setting the values ​​manually, as a rule, the subnet mask has the sequence 255.255.255.0 (it can change), and all IP addresses begin with the values ​​192.168.0.X (the last letter can have from one to three characters ).

Conclusion

However, these are all subtleties computer technology. The same VPN client for Android can provide communication between multiple smart devices. But the biggest snag is whether it’s worth using such a connection on a mobile gadget.

If you noticed, we didn’t go into too much technical detail. This is rather a descriptive instruction about general concepts. But even that simple example, I think, will help, so to speak, to understand the very essence of the issue. Moreover, with a clear understanding of it, the whole problem will be reduced only to the system settings, which will not affect a specific user in any way.

But here you need to be very careful. Actually, for those who don’t know how to connect, it won’t do much. For more advanced users, it is worth saying that creating a virtual network using Windows OS’s own tools is not recommended. You can, of course, use the initial settings, however, as practice shows, it is better to have some reserve additional client, which will always be like an ace in the hole.

Virtual Private Network, aka VPN, aka, virtual private network. In fact, in a sense, such networks should be considered a step back, however, a forced and extremely effective step. VPNs allow you to return from global networks to local networks, albeit on a rather unusual scale.

VPN allows you to unite computers scattered around the world into virtual local networks; at the same time, you can interact with other members of the network as if everyone were connected to the same router - play on the local network, open shared folders through Network Neighborhood, and also print on "shared" printers. So, we suggest you learn how to create VPN networks, connect to them, and also solve some problems that may arise (although not necessarily) while using them. Despite the fact that the general principle always remains the same, we will talk about how to install a VPN on Windows 7.

Creating a server

Let's start creating a VPN server - a computer to which other users of our virtual network will connect. First of all, we need to get to the Network and Sharing Control Center. To do this, perform the following steps:"Start" button; "Control Panel"; "Network Control Center and shared access».


Photo: “Network and Sharing Center”

If you see the inscription “Category” in the upper right corner, you need to click on it and switch the mode to “Large icons” - this display mode is used in our instructions.

As a result, you should see something like this:


The window displayed on your screen allows you to control almost any aspect of your computer's networking. Here you need to click on the “Change adapter settings” icon.


Photo: “Change adapter settings” icon

To begin creating an incoming connection, follow these steps:

Now you have a window like this on your screen, with a number of small exceptions.


Firstly, there may be other items in the list of accounts, and also, you are unlikely to have the “vpnuser” user, which we will now create by clicking on the “Add user” button.


Photo: entering new user data

Fill in the following fields:“User” - the client’s login is indicated here; “Password” and “Confirmation” - the password of the created account(values ​​must match); The “Full name” field is optional - it can be left empty, as it does not affect functionality.


After filling out the fields, click on the “OK” button. If you want to add several more VPN users (this may be useful for further control over them), repeat the procedure as many times as necessary. When the creation is finished, click “Next”. In the next window, check the “Via the Internet” box, otherwise the “Next” button will be unavailable. Accordingly, after the checkbox, click on the button and we get the following window:


All that remains is to configure the protocols. Regarding their choice, it is better to leave everything as is. However, if you plan to use applications that require IPv6 support, you can check the box next to this protocol, however, in 99% of cases this is not necessary.

It is extremely important to configure IPv4 correctly:

Everything is necessary so that you can find connected users in the future. In addition, this way you can limit the maximum number of connected people, which can be very useful. When finished, click "OK" and then the "Allow access" button. The VPN server has been created. All that remains is to click on the “Close” button and start setting up clients. Also pay attention to the chapter “Port Forwarding” - it may be useful.


Connection on a computer

Let's start setting up client computers. First of all, you need to find out the server address, if you connect to a “homemade” VPN server, to do this you need to go from it (from the server), for example, to the site myip.ru, which will clearly and clearly display your IP address. In the future, we recommend using services in the spirit of DynDns - so as not to waste time searching for an address.

So, to establish a VPN connection, do the following:

This click will launch a short connection wizard, in the first step of which you need to select “Connect to a workplace” and click “Next”.


Photo: “Connect to a workplace” item

Now select the first item from the list. You don’t even have to think about the second one in the 21st century - it is needed for DialUp modems.


If you did everything correctly, it's time to enter the server address. This can be either the IP address that we looked at on the server, or Domain name, which can be obtained through dynamic DNS services.


In our case, the address is indicated as 157.57.121.54, however, in your case the numbers will probably be different. You can fill in the “Destination name” field at your own discretion - it will not affect the operation of the network. Also, it’s worth checking the “Don’t connect now” box so as not to waste time during the setup process.


Once the required data is specified, click “Next” and start filling out the fields:

  1. “Username” - here you enter the login specified when creating the VPN server;
  2. “Password” - similar – indicate the pre-set password for the VPN user;
  3. Optionally, you can check the “Remember password” checkbox.

All you have to do is click on the “Create” button and your VPN connection is ready. If the server is running and you are confident that your actions are correct, you can connect now using the “Connect now” button. In addition, you can always establish a connection using the network icon in the lower right corner.


That's all. If everything has been done correctly, then you can start using your virtual network, however, we recommend that you read this article to the end - even if everything works fine now, there is a risk that problems will appear sooner or later and it is better to be prepared for them.

VPN server in Windows 7

First of all, it should be noted that the built-in VPN server in the “seven” has one important and extremely unpleasant limitation - only one person can connect to your server at a time. If you want more, bet Windows Server, however, you can find a fairly effective patch on the network that removes this annoying limitation - after applying it, several connections will become available. In addition, sometimes for a complete setup it is necessary to configure the firewall and forward ports - we will tell you about this now.

Video: Creating a connection

Setting up firewalls

In some cases, the connection is established, but there is no connection between the computers. It's all about the built-in firewall (or firewall) of Windows.

To make it more friendly, you need to indicate that you trust the connected users.

We establish a connection, go to the “Network Center” and look for the connection icon. On the client it is called “RAS”, and on the server it is called “VPN connection”.


Click on them on both machines and select “Home Network”.


That's all, your problems should disappear.

Port forwarding

Another catch is that home routers and ADSL modems do not open the ports required for VPN by default. In this case, you will have to do it manually.


Photo: setting up port forwarding

You will have to open the ports on the server, or rather, on the router to which it is connected - how this is done is described in detail in the instructions for your device, but we will only inform you that the Windows VPN server uses TCP port 1723. Also, if available such a feature, disable GRE blocking.

Setting parameters

Even when the VPN server is already configured, you can change its settings. To do this, open the “Change adapter settings” window that we used in the first part of the article, then click on the “Incoming connections” icon right click and select "Properties".


A window will appear on your screen where you can edit, delete, and add users, as well as configure protocol settings and IP address ranges. In other words, change the parameters that were specified when creating the connection.

Attention! This feature only works fully if the connection is idle - if anyone is connected to you, disconnect them before changing the settings.

Error 807

The network error about an interrupted connection with number 807 is a real scourge for novice admins. To get rid of it (or at least find out the cause of its occurrence), you need to take several steps:

As an additional measure, try setting everything up again.

Enabling debug logs

Sometimes to receive additional information it is necessary to record all server events in a file that is easy to read. To start this process, press Win+R and in the window that opens, enter: netsh ras set tracing * enabled.


Press Enter and go to the Windows\tracing directory, there you will find several files (5 pieces) that contain information about connection attempts and transmitted data. They open to anyone text editor. Disabling recording is done with a similar command, however, the word enabled must be replaced with disabled. VPN - perfect solution for a range of cases. However, it has gained the greatest popularity in the corporate environment. Let's say you're on a business trip with your laptop, but want to use it as if you were in the office. In this case, a VPN is exactly what you need.


In addition, such a solution is often used for remote access to printers - despite the fact that there are a lot of modern protocols, such a solution still remains simple and convenient.

And, of course, we must not forget about games - a VPN network greatly simplifies the launch game programs, designed to work on a local network. Naturally, all this is far from full list possible uses of VPN. The functions of this service can be useful to everyone, so keep these instructions ready.

Instructions

Click on the Start menu and select Control Panel. Find the "Network and Internet" section. To organize a VPN connection, you need to launch the Network and Sharing Center snap-in. You can also click on the network icon in the tray and select a similar command. Proceed to create a new connection or network, noting that you need to connect to your desktop. Click "Next". You will be prompted to use an existing connection. Check the box “No, create a new connection” and proceed to the next step of the settings.

Select "Use my Internet connection" to set up a VPN connection. Set aside the Internet settings prompt that appears before continuing. A window will appear in which you need to specify the VPN server address according to the agreement and come up with a name for the connection, which will be displayed in the Network and Sharing Center. Check the “Don’t connect now” checkbox, otherwise the computer will try to establish a connection immediately after setup. Check Use Smart Card if the remote VPN host authenticates the connection using a smart card. Click Next.

Enter your username, password and domain, according to which you gain access to the remote network. Click the "Create" button and wait until the VPN connection is configured. Now you need to establish an Internet connection. To do this, click on the network icon in the tray and start setting the properties of the created connection.

Open the Security tab. Set "VPN Type" to "Automatic" and "Data Encryption" to "Optional". Check "Allow the following protocols" and select the CHAP and MS-CHAP protocols. Go to the “Network” tab and leave a checkmark next to “Internet Protocol Version 4” only. Click the "Ok" button and connect the VPN connection.

Any VPN net provides for the presence of a specific server that will provide communication between network computers and other devices. At the same time, it provides some of them (or all) with access to an external network, for example, the Internet.

First of all, you need to check that the Internet connection settings have the correct values. You can now click the Start button located in the lower left corner of the monitor. Select the “Control Panel” item. Now we need to find the icon " Network connections" A window should open. This is where the virtual network will be configured and a new connection will be created. We need the item “Create a new connection”, click “Connect to a network at the workplace”, select the item “Connections to a virtual private network”, click the “Next” button.

A new field appears in which you need to enter your company name or username. Now find “Computer name or IP address”, indicate the VPN server and the provider whose services you use.

Note: The actions that will be described below are not mandatory when setting up a virtual network. They are performed in certain situations:

  • if the Internet connection is running with connection remote access, you need to select the item “Dial the number for the next preliminary connection”. After this, you need to select the required remote access connection option;
  • If you are using a cable modem or other means of constantly connecting to the Internet, you should select the “Do not dial to pre-connect” option.

A Virtual Private Network is a virtual private network that is used to provide secure connections within corporate connections and Internet access. The main advantage of VPN is high security by encrypting internal traffic, which is important when transferring data.

What is a VPN connection

Many people, when they come across this abbreviation, ask: VPN – what is it and why is it needed? This technology opens up the possibility of creating a network connection on top of another. VPN works in several modes:

  • node-network;
  • network-network;
  • node-node.

Organization of a private virtual network on network levels allows you to use TCP and UDP protocols. All data that passes through computers is encrypted. This is additional protection for your connection. There are many examples that explain what a VPN connection is and why you should use it. This issue will be discussed in detail below.

Why do you need a VPN?

Each provider is able to provide user activity logs upon request from the relevant authorities. Your internet company records every activity you do online. This helps relieve the provider of any responsibility for the actions carried out by the client. There are many situations in which you need to protect your data and gain freedom, for example:

  1. The VPN service is used to send confidential company data between branches. This helps protect important information from interception.
  2. If you need to bypass the service's geographic location. For example, the Yandex Music service is available only to residents of Russia and residents of the former CIS countries. If you are a Russian-speaking resident of the United States, then you will not be able to listen to the recordings. A VPN service will help you circumvent this ban by replacing the network address with a Russian one.
  3. Hide website visits from your provider. Not every person is ready to share their activities on the Internet, so they will protect their visits using a VPN.

How VPN works

When you use another VPN channel, your IP will belong to the country where this secure network is located. When connected, a tunnel will be created between the VPN server and your computer. After this, the provider’s logs (records) will contain a set of strange characters. Analyzing the data with a special program will not produce results. If you do not use this technology, the HTTP protocol will immediately indicate which site you are connecting to.

VPN structure

This connection consists of two parts. The first is called an “internal” network; you can create several of these. The second is the “external” one, through which an encapsulated connection occurs; as a rule, the Internet is used. It is also possible to connect to the network of a separate computer. The user is connected to a specific VPN through an access server connected simultaneously to the external and internal networks.

When VPN software connects remote user, the server requires two important processes to go through: first identification, then authentication. This is necessary to obtain the rights to use this connection. If you have fully completed these two steps, your network is empowered, which opens up the possibility of work. In essence, this is an authorization process.

VPN classification

There are several types of virtual private networks. There are options for the degree of security, implementation method, level of operation according to the ISO/OSI model, and the protocol involved. You can use a paid access or a free VPN service from Google. Based on the degree of security, channels can be “secure” or “trusted”. The latter are needed if the connection itself has the required level of protection. To organize the first option, the following technologies should be used:

  • PPTP;
  • OpenVPN;
  • IPSec.

How to create a VPN server

For all computer users, there is a way to connect a VPN yourself. Below we will consider the option in the operating room Windows system. This instruction does not provide for the use of additional software. The setup is carried out as follows:

  1. To make a new connection, you need to open the viewing panel network access. Start typing the words “Network connections” into the search.
  2. Press the “Alt” button, click on the “File” section in the menu and select “New incoming connection”.
  3. Then set up a user who will be given a connection to this computer via VPN (if you only have one account on your PC, you will need to create a password for it). Check the box and click “Next”.
  4. Next, you will be asked to select a connection type; you can leave a checkmark next to “Internet”.
  5. Next step will turn on network protocols, which will work on this VPN. Check all the boxes except the second one. If desired, you can set a specific IP, DNS gateways and ports in the IPv4 protocol, but it is easier to leave the assignment automatic.
  6. When you click on the “Allow access” button, the operating system will automatically create a server and display a window with the computer name. You will need it for connection.
  7. This completes the creation of a home VPN server.

How to set up a VPN on Android

The method described above is how to create a VPN connection on personal computer. However, many have long been doing everything using their phone. If you don’t know what a VPN is on Android, then all the above facts about this type connections are also valid for a smartphone. Configuration modern devices provides comfortable Internet use on high speed. In some cases (to launch games, open websites), proxy substitution or anonymizers are used, but for stable and fast VPN connections fits better.

If you already understand what a VPN on a phone is, then you can proceed directly to creating a tunnel. This can be done on any device that supports Android. The connection is made as follows:

  1. Go to the settings section, click on the “Network” section.
  2. Find the item called “Advanced Settings” and go to the “VPN” section. Next, you will need a PIN code or password that will unlock the ability to create a network.
  3. The next step is to add a VPN connection. Specify the name in the “Server” field, the name in the “username” field, set the connection type. Click on the “Save” button.
  4. After this, a new connection will appear in the list, which you can use to change your standard connection.
  5. An icon will appear on the screen indicating that there is a connection. If you tap on it, you will be provided with statistics of received/transmitted data. You can also disable the VPN connection here.

Video: Free VPN service

Virtual Private Network, aka VPN, aka, virtual private network. In fact, in a sense, such networks should be considered a step back, however, a forced and extremely effective step. VPNs allow you to return from global networks to local networks, albeit on a rather unusual scale.

VPN allows you to unite computers scattered around the world into virtual local networks; at the same time, you can interact with other members of the network as if everyone were connected to the same router - play on a local network, open shared folders through “Network Neighborhood”, as well as print on “shared” printers. So, we suggest you learn how to create VPN networks, connect to them, and also solve some problems that may arise (although not necessarily) while using them. Although general principle always remains the same, we will talk about how to install a VPN on Windows 7.

Creating a server

Let's start creating a VPN server - a computer to which other users of our virtual network will connect. First of all, we need to get to the Network and Sharing Control Center. To do this, perform the following steps:"Start" button; "Control Panel"; "Network and Sharing Center."

Photo: “Network and Sharing Center”

If you see the inscription “Category” in the upper right corner, you need to click on it and switch the mode to “Large icons” - this display mode is used in our instructions.

As a result, you should see something like this:

The window displayed on your screen allows you to control almost any aspect of your computer's networking. Here you need to click on the “Change adapter settings” icon.

Photo: “Change adapter settings” icon

To begin creating an incoming connection, follow these steps:


Now you have a window like this on your screen, with a number of small exceptions.

Firstly, there may be other items in the list of accounts, and also, you are unlikely to have the “vpnuser” user, which we will now create by clicking on the “Add user” button.

Photo: entering new user data

Fill in the following fields:“User” - the client’s login is indicated here; “Password” and “Confirmation” - the password of the account being created (the values ​​must match); The “Full name” field is optional - it can be left empty, as it does not affect functionality.

After filling out the fields, click on the “OK” button. If you want to add several more VPN users (this may be useful for further control over them), repeat the procedure as many times as necessary. When the creation is finished, click “Next”. In the next window, check the “Via the Internet” box, otherwise the “Next” button will be unavailable. Accordingly, after the checkbox, click on the button and we get the following window:

All that remains is to configure the protocols. Regarding their choice, it is better to leave everything as is. However, if you plan to use applications that require IPv6 support, you can check the box next to this protocol, however, in 99% of cases this is not necessary.

It is extremely important to configure IPv4 correctly:


Everything is necessary so that you can find connected users in the future. In addition, this way you can limit the maximum number of connected people, which can be very useful. When finished, click "OK" and then the "Allow access" button. The VPN server has been created. All that remains is to click on the “Close” button and start setting up clients. Also pay attention to the chapter “Port Forwarding” - it may be useful.

Connection on a computer

Let's start setting up client computers. First of all, you need to find out the server address, if you connect to a “homemade” VPN server, to do this you need to go from it (from the server), for example, to the site myip.ru, which will clearly and clearly display your IP address. In the future, we recommend using services in the spirit of DynDns - so as not to waste time searching for an address.

So, to establish a VPN connection, do the following:


This click will launch a short connection wizard, in the first step of which you need to select “Connect to a workplace” and click “Next”.

Photo: “Connect to a workplace” item

Now select the first item from the list. You don’t even have to think about the second one in the 21st century - it is needed for DialUp modems.

If you did everything correctly, it's time to enter the server address. This can be either the IP address that we looked at on the server, or a domain name that can be obtained through dynamic DNS services.

In our case, the address is indicated as 157.57.121.54, however, in your case the numbers will probably be different. You can fill in the “Destination name” field at your own discretion - it will not affect the operation of the network. Also, it’s worth checking the “Don’t connect now” box so as not to waste time during the setup process.

Once the required data is specified, click “Next” and start filling out the fields:

  1. “Username” - here you enter the login specified when creating the VPN server;
  2. “Password” - similar - indicate the pre-set password for the VPN user;
  3. Optionally, you can check the “Remember password” checkbox.

All you have to do is click on the “Create” button and your VPN connection is ready. If the server is running and you are confident that your actions are correct, you can connect now using the “Connect now” button. In addition, you can always establish a connection using the network icon in the lower right corner.

That's all. If everything has been done correctly, then you can start using your virtual network, however, we recommend that you read this article to the end - even if everything works fine now, there is a risk that problems will appear sooner or later and it is better to be prepared for them.

VPN server in Windows 7

First of all, it should be noted that the built-in VPN server in the “seven” has one important and extremely unpleasant limitation - only one person can connect to your server at a time. If you want more, install Windows Server, however, you can find a fairly effective patch online that removes this annoying limitation - after applying it, several connections will become available. In addition, sometimes for a complete setup it is necessary to configure the firewall and forward ports - we will tell you about this now.

Video: Creating a connection

Setting up firewalls

In some cases, the connection is established, but there is no connection between the computers. It's all about the built-in firewall (or firewall) of Windows.

To make it more friendly, you need to indicate that you trust the connected users.

We establish a connection, go to the “Network Center” and look for the connection icon. On the client it is called “RAS”, and on the server it is called “VPN connection”.

Click on them on both machines and select “Home Network”.

That's all, your problems should disappear.

Port forwarding

Another catch is that home routers and ADSL modems do not open the ports required for VPN by default. In this case, you will have to do it manually.

Photo: setting up port forwarding

You will have to open the ports on the server, or rather, on the router to which it is connected - how this is done is described in detail in the instructions for your device, but we will only inform you that the Windows VPN server uses TCP port 1723. Also, if available such a feature, disable GRE blocking.

Setting parameters

Even when the VPN server is already configured, you can change its settings. To do this, open the “Change adapter settings” window that we used in the first part of the article, then right-click on the “Incoming connections” icon and select “Properties”.

A window will appear on your screen where you can edit, delete, and add users, as well as configure protocol settings and IP address ranges. In other words, change the parameters that were specified when creating the connection.

Attention! This feature only works fully if the connection is idle - if anyone is connected to you, disconnect them before changing the settings.

Error 807

The network error about an interrupted connection with number 807 is a real scourge for novice admins. To get rid of it (or at least find out the cause of its occurrence), you need to take several steps:


As an additional measure, try setting everything up again.

Enabling debug logs

Sometimes, to obtain additional information, it is necessary to record all server events in an easy-to-read file. To start it this process, press Win+R and in the window that opens, enter: netsh ras set tracing * enabled.

Press Enter and go to the Windows\tracing directory, there you will find several files (5 pieces) containing detailed information about connection attempts and transmitted data. They can be opened with any text editor. Disabling recording is done with a similar command, however, the word enabled must be replaced with disabled. VPN is a great solution for a number of cases. However, it has gained the greatest popularity in the corporate environment. Let's say you're on a business trip with your laptop, but want to use it as if you were in the office. In this case, a VPN is exactly what you need.

In addition, such a solution is often used for remote access to printers - despite the fact that there are a lot of modern protocols, such a solution still remains simple and convenient.

And, of course, we must not forget about games - a VPN network greatly simplifies the launch of gaming programs designed to work on a local network. Naturally, all this is not a complete list of possible uses of VPN. The functions of this service can be useful to everyone, so keep these instructions ready.

Besides powerful computer and an impressive list additional programs For convenient surfing and safe work on the Internet, you need a reliable server - a tool that provides communication with people, services, companies and information sites. Among different types the best choice would be a VPN server, if only because it is included as an option operating system Windows. Read on, and you can launch and configure it on Windows 7 yourself and at no cost.

Connecting and setting up a VPN server

Don't be alarmed. It’s not difficult to create and prepare a VPN server for correct operation, but required condition- you have administrator rights.

What is a VPN server

Literally, VPN (Virtual Private Network) translates as “virtual private network.” Technically, this is a set of protocols and solution architecture that provides secure communication in the digital environment. Essentially, a VPN is a secure add-on on top of the usual virtual network.

Installing and configuring a VPN server will not require much time from you, since it is already built into the operating system Windows system. According to experts, the most successful private server configuration is contained on this platform.

This is what a simplified connection diagram via a VPN server looks like:

The server's job is to create tunnels connecting the user to the endpoints he wants to get to. Moreover, the information is encrypted using a complex algorithm, which is almost impossible to decode. No one from the outside can enter the tunnel. The server blocks such attempts, leaving personal information well protected - correspondence, calls, messages, video and audio files.

What is it for?

The essence of the answer is in the tasks that the server performs. It not only unites virtual space many devices such as computer terminals, laptops, tablets and even mobile devices. Its technology provides anonymity, data encryption and security confidential information from interception by intruders.

Some will object: we have no need for anonymity and data protection, because there is nothing to hide. Let me not believe you. It’s not just criminals who use encrypted traffic; most are not averse to protecting data so as not to “share” access passwords to their bank card or not become the target of blackmail due to leakage of personal information. As they say: it is stupid to leave the door of the house open if the world does not consist of only good and kind people. Anonymity also adds a nice detail - the ability to visit resources that were previously inaccessible for various reasons.

One of the most common reasons for using a VPN is the reluctance to be tied to a workplace

It’s also a good idea to mention the benefits of using a VPN:

  • scalability - no additional costs are required when connecting another participant;
  • flexibility - it doesn't matter where you access from;
  • A valuable opportunity to work anywhere.

A VPN server is extremely necessary when creating corporate networks, when for the safe operation of a company or enterprise it is necessary to limit access to unauthorized persons to information circulating among employees. Using technical solutions VPN, it is not difficult to organize the confidentiality of clients located outside the company.

How to create and configure on a computer with Windows 7: step-by-step instructions

The sequence of actions that need to be performed to launch and configure the VPN server on Windows platform 7 is like this.

  1. Open the Start menu and go to the Control Panel tab.

    Go from the Start menu to Control Panel

  2. In Computer Settings, select Network and Internet.

    Open the “Network and Internet” section

  3. In the window that opens, click “Network and Sharing Center.”

    Select "Network and Sharing Center"

  4. Then click “Set up a new connection or network.”

    Select “Set up a new connection or network”

  5. Select “Connect to Workplace” in the new window.

    Click on the “Connect to Workplace” button

  6. Then click on “Use my Internet connection (VPN)”.

    Select "Use my Internet connection (VPN)"

  7. When prompted to establish an Internet connection immediately or defer this action, select “Delay setting up an Internet connection.”

    Select “Delay Internet connection setup”

  8. Next, write the server address, destination name and come up with a name for the connection.

    Enter the VPN server address and write the name of the connection in the “Destination name” field

  9. In the next window, enter the username and password that are registered on the VPN server. In the “Remember this password” field, check the box so that you do not have to enter it every time you connect. Be sure to save.

    Enter the username and password registered on the VPN server. Check the box "Remember this password"

  10. The connection has been created. Click the "Close" button. For convenience, create a shortcut to the program on the “Desktop”.

    Close a window

  11. Go back to the Start menu, then Control Panel, Network and Internet, Manage Networks and Sharing, and select Change adapter settings.

    Go to “Change adapter settings”

  12. Find the VPN connection in this window and right-click on it, then go to its “Properties”.

    In the VPN connection window, right-click on it and go to its “Properties”

  13. Next, select “Security”, where in the “VPN Type” field select “Point-to-Point Tunnel Protocol (PPTP)”, and in the “Data Encryption” field click on “Optional”.

    Open “Security” and in the “VPN Type” field select “Point-to-Point Tunnel Protocol (PPTP)”, in the “Data Encryption” field select “optional”

  14. In the same window, only on the “Network” tab, uncheck the boxes next to “Client for Microsoft Networks” and “File and Printer Sharing Service for Microsoft Networks”.

    On the “Network” tab, uncheck the boxes next to the items: “Client for Microsoft Networks” and “File and Printer Sharing Service for Microsoft Networks”

  15. Then, without closing the window, go to the “Options” tab and uncheck the box next to “Include Windows logon domain”, then click “OK”.

    On the “Options” tab, uncheck the box next to “Include Windows login domain”, then click “OK”

Before starting, the VPN will ask for a location. The best choice- “Public place”, then the greatest privacy in the digital space will be ensured. If desired, in the “Connection” menu, configure the settings for encryption and use of other devices.

If you still have questions about installing and configuring a VPN server in Window 7, watch the video.

Video: how to set up and configure a VPN connection in Windows 7

Setting up for multiple clients

The process of connecting new private network participants is as follows.

  1. Go to “Control Panel” => “Network Connections” => “Create a new connection”.
  2. Start working with the “New Connection Wizard” => “Direct connection to another computer” => “Accept incoming connections”.
  3. The “Wizard” will prompt you to specify those devices with which you plan to receive incoming connections, but they are not suitable, so click on “Next”. When the “Wizard” asks a question about VPN, stop at the “Allow virtual private networks” item.
  4. Entering authorization parameters. The “Wizard” prompts you to select those users who are allowed to log into the virtual private network. Select and click the “Add” button. When prompted by the Wizard, enter the new username and password.
  5. Configure TCP/IP protocols. Select the appropriate item in the list of protocols and click on the “Properties” button. To allow the client to access the local network, activate the “Allow callers access to the local network” option. Next, designate the range of IP addresses that connected participants can use.

Troubleshooting installation and operation problems

Launching a VPN is often accompanied by errors. The machine reports them in three digits. Thus, errors with a digital value of 6** report the working status of the network, but you need to check the entered information. This refers to the communication protocol type, password and name. Code 7** provides information about the presence of errors in the connection settings. Code 8** hides problems with network settings or those related to a simple lack of Internet connection.

Let's look at common mistakes and how to fix them.

Error 807

This error indicates that the network connection has been interrupted. A common reason is problems with traffic transmission due to Low quality Internet connection or server overload.

This is how the system reports error 807

There are many options to solve the problem. Try re-creating the VPN connection. Did not help? This means remove the KV958869 system or, better yet, restore it to its previous state. Didn't work out again? Then translate the connection type from automatic function to "PPTP". Please note that error 807 also occurs when blocked by a firewall/firewall, so try disabling them.

Error 868

We are talking about the incorrect operation of VPN ports. Often the termination occurs due to an incorrect DNS server name. Therefore, first of all, look at the TCP/IP protocol. The DNS address is either entered incorrectly or not entered at all.

This is what error message 868 looks like

Determine the status of the local network connection. In the “Network Connections” tab, follow these steps: “Start” => “Control Panel” => “Network and Internet” => “Network Center” => “Change adapter settings”. The detected defect will dictate further actions.

So, if there is no local network connection, connect via VPN. No result? Check if the cable is working. When you disable it, you will see blue screens with a red cross on the corresponding icon. Try using the right key to first disconnect and then reconnect the connection. Nothing happened again? Then do the same “disconnect/connect” operation with the cable (manually).

Is the error still there? Check your connection. Open it with the right button and see how many packets have been sent - there should be at least 5-7. If the shipment received less or is completely empty, then find out how the equipment works. Go to “Administration” in this way: “Start” => “Control Panel” => “System and Security” => “Administration” => “Services”. Find the DHCP client in the list of services. Restart it with the right button. Then restart your PC.

A non-working state can also be caused by blocking port 53. Your excessive caution simply played a cruel joke - you yourself programmed the security system in such a way that it does not allow absolutely everything. In this regard, it is recommended to check whether port 53 is blocked. Even if “Port is open” is written, this does not mean that the connection is working. Here we only mean readiness to connect. Just create an allow rule for port 53 in TCP and UDP protocol. No result? Then you will have to resort to a last resort, that is, reinstall Windows.

Be sure to watch the video from detailed instructions port opening. It also shows ways to correct port connection errors.

Video: opening a port on a local network

Errors 734 and 741

Error 734 occurs when the PPP Communication Control Protocol is interrupted, and error 741 is due to the fact that the machine does not recognize this type of encryption.

Error 734 can be resolved using a simple algorithm

They will help correct the situation simple steps. Double-left-click the VPN and open Properties, then Security, and uncheck “Data encryption required.” Confirm your intentions.

This is only a small part of the problems that arise when launching a VPN, but almost all of them can be solved quite simply and without much time.

What is OpenVPN

The most popular solution for organizing a private network is OpenVPN. The main advantage is economy, since the traffic is compressed. Among the disadvantages of the program is the complexity of configuration, which we will now deal with.

OpenVPN - special program to set up a VPN connection. Naturally, you first need to install it on your computer. It is better to take the download file from the official website of the program:

The installation process is quite simple, except that you will need to temporarily disable the antivirus. When loading the program, the virtual network adapter TAP-Win32 Adapter V9 and its driver are introduced into the system. OpenVPN's task is to set the IP address and mask of the local add-on.

First of all, you need to copy the configuration file that your provider should provide to you. Save the data in the C:\Program Files\OpenVPN\config folder. Once in it, click on the “Insert” item.

OpenVPN should only be run with administrator rights, otherwise the program may not work correctly. Be sure to change the compatibility properties in the OS. On OpenVPN, open Properties, find Compatibility, and check Run this program as an administrator. Next, confirm your actions by clicking on “OK”. A connection log window should appear.

If you followed all the steps correctly, then setting up a VPN via the OpenVPN protocol for Windows 7 was successful. Still having difficulties? Look at the screenshots step by step instructions Open VPN settings and a short video.

Setting up the program step by step (photo)

Copy the configuration file to the C:Program FilesOpenVPNconfig folder

Confirm your access request

Run Open VNP as an administrator: go to “Start” and right-click on the OpenVPN shortcut, select “Properties”

Open the program menu in the tray (right corner) and select “Connect”

A window will open with the contents of the connection log

Video: Installing OpenVPN GUI

Setting up IPSec VPN

The IPSec standard is specifically designed to enhance the security of the IP protocol. Allows you to confirm authenticity (authentication), and also checks the integrity and encryption of IP packets. IPsec contains protocols for secure key exchange:

  • RFC 2401 IPSec
  • RFC 2402AH
  • RFC 2406 ESP,
  • RFC 2409 IKE.

How to set up a VPN using IPsec is described in step by step guide below.

  1. In the Control Panel, click View: Small Icons, then go to Control Center.
  2. Next, find “Set up a new connection” on the “Change network settings” tab.
  3. Complete the action by clicking on “Connect to Workplace”. Go to it via the “Connection or network setup” tab.
  4. What you do next depends on whether a VPN was previously installed on your machine. If yes, then in the pop-up window click “No, create a new connection and continue with your actions.” If not, select “Use my Internet connection.”
  5. Don't forget to add your VPN address, and in the "Destination Name" line, write the server name. Don't forget the mark. Select the “Installation for future connection” column and continue with your actions.
  6. Next, add your password and login registered on the VPN server. In the window that opens, agree to connect.
  7. Then, in the Network and Sharing Center, change the adapter settings.
  8. Finally, select VPN Type. It will be IPsec VPN. Of course, note that encryption is optional. IPsec VPN channel is ready!

To conclude the topic about IPsec VPN, I would like to emphasize the usefulness of the program, given the two disadvantages that VPN has. The first and most serious is the vulnerability of the PPTP protocol. We are talking about the insufficient reliability of single-factor authentication. In other words, when we confirm our access rights only using a login and password. In this case, the login or user name is usually known, and the password quite often falls into the hands of a hacker (for example, when a Trojan virus is introduced into your OS). Then the outsider receives full access to the local network. The second drawback is that there is no way to verify that the connection was made by a trusted user and not by the same attacker who gained access to the account.

Video: setting up an IPsec tunnel between two Mikrotik routers

Now, user, you know, if not all, then the basic steps for creating and setting up your own, full-fledged and completely secure virtual network based on a VPN connection in Windows environment 7. You also learned how to properly configure OpenVPN and IPsec VNP programs. Rest assured, a private server guarantees the same full connection as a regular one. Your computer will not notice the difference between a VPN and a channel without encryption, but the security of your work in the digital space increases several times.

Many businesses use a VPN to transfer data between computers. To set up a VPN, Windows 7, XP, 8 and 10 have a built-in software, which allows you to create a private virtual network in a few minutes and use it to protect private information.

Settings via Control Panel

On Windows XP, Vista and later versions of the OS, you can create and connect to VPN networks using built-in software. Let's consider this connection step by step:

If the remote VPN server receives the correct data, then within a few minutes the computer will connect to the new private network. In the future, you do not need to configure the connection each time; it will be located in the section quick selection connections.

Additional connection properties

For the connection to work correctly, it is recommended to slightly change its parameters. To do this, after clicking the Connections button, in the menu that appears, select the Properties button. You can also open these properties through the “” section from the Control Panel.

Follow the instructions:

  1. Go to the section " Are common", uncheck " First dial the number for this connection».
  2. IN " Options» disable the item « Enable login domain in Windows».
  3. In chapter " Safety"needs to be installed" Point-to-Point Tunnel Protocol (PPTP)" From the checkboxes we mark “ Password Authentication Protocol (CHAP)" and following it " Microsoft CHAP protocol version 2 (MS-CHAP v2)».
  4. In chapter " Net"check only the second box (TCP/IPv4). You can also use IPv6.

Setting up a VPN on Windows xp, 7, 8, 10 through the Control Panel is the same in terms of execution algorithm. The exception is a slightly modified design depending on the operating system version.

After the connection is established, you need to figure out how to remove the VPN. To do this, just go to the section “ Change adapter settings» from the Control Panel. Next, right-click on the unnecessary element and select “ Delete».

Setting up a Windows XP connection

The connection setup process is almost the same as in Windows 7.


Now the connection can be made through the networks menu. You just need to enter the user and password to log in.

Creating a VPN Server

This instruction is valid for versions from XP and higher. Unfortunately, through standard remedy creating virtual private networks you can connect only one user per session.


If you do not create a permanent IP or domain name, then to connect a user you will have to change the server address each time.

This completes the creation of the server; now you can connect one user to it. To log in, use the login and password from the previously created account.

VPN server on Windows XP

This instruction is relevant for Windows settings 7, 8 and 10. In XP, the settings wizard is used for settings.


In the future, user and IPv4 protocol settings are made as on other versions of Windows.

Setting up a connection via Windows 8 and 10

VPN connection on Windows 8 has become easier to use and is done through a small program. It is located in the section " Net» - « Connections» - « VPN».

A VPN connection on Windows 10 and 8 can be configured not only through “ Control Panel", but also through the built-in program. In it you need to specify the connection name, server address and login information.

After entering the data, the network can be started from the connections menu. At this point, the question of how to create a VPN connection can be considered resolved.

How to create a VPN server, errors

If the user has any problems connecting to the VPN, this is indicated by a pop-up window with the number and description of the problem.

809

It is the most common and occurs when connecting via a MikkroTik gateway with the L2TP protocol.

To fix it, you need to perform 3 configuration steps:

If after these settings error 809 is not resolved, then you need to change the registry. To do this, use the Win + R key combination and enter regedit Next, go to the section HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Rasman\Parameters. Next, create a DWORD value named ProhibitIpSec with a value of 1.

After this, restart your PC.

806

After setting up a Windows 8 VPN, you may see error 806. It occurs when incorrect setting network or network cable connection.

Let's look at solving these problems:

  1. Go to settings to change adapter settings.
  2. Next, create a new incoming connection and add a user with an Internet connection to it.
  3. In the connection properties, you need to select protocol version 4.
  4. Now you need to go to additional settings TCP/IPv4 protocol and uncheck " Use default gateway on remote network».
  5. Now you need to set your firewall to allow incoming connections on TCP port 1723 with GRE protocol enabled.
  6. You also need to set a permanent IP on the server and configure data transfer to port 1723.

Thus, the remote server will transmit all data through this port and the connection will not be broken.

619

On Windows 7 it occurs when the security of the VPN connection is incorrectly configured.

In most cases, it occurs when the user name and password are entered incorrectly, but it can also appear when the connection is blocked by a firewall or when the access point is incorrect. If all entered data is correct, then the error is due to incorrect security settings. They need to be reset:

  1. In the VPN connection properties, go to the security tab and use the recommended settings.
  2. You also need to assign the item “ Data encryption required (otherwise disconnect)" After this, you need to save the changes and turn off the computer to restart.

A VPN connection allows you to reliably protect all transmitted data. Thanks to additional encryption protocols, unwanted parties will not be able to view information sent between users and servers. The main thing is to correctly configure the connection to the server.

Video on the topic