How to set up smartphones and PCs. Informational portal
  • home
  • Advice
  • VPN connection windows 7. Configuring VPN connection using Windows OS

VPN connection windows 7. Configuring VPN connection using Windows OS

Telegram was blocked, free proxies and VPNs work intermittently due to a large influx of users, or even stop functioning without explaining the reasons, how.

Paid tools can also disappear at any time: the law banning anonymizers and VPNs has long been adopted, but has not yet been applied. In this situation, your own VPN becomes the only guarantee of freedom on the Internet. A life hacker will tell you how to set it up in 20 minutes.

Choosing a hosting

To set up a VPN, you need a VPS - a virtual private server. You can choose any hosting provider, as long as the following conditions are met:

  • The server is located in a country that does not fall under the jurisdiction of the Russian authorities, but is close enough to your real location.
  • Random access memory (RAM) must be at least 512 MB.
  • The network interface speed is 100 MB / sec and higher.
  • Network traffic - 512 GB or more or unlimited.

The amount of allocated space on the hard disk and the type of drive does not matter. You can find the right solution for $ 3-4 a month.

When buying a server, choose KVM. OpenVZ and Xen are also suitable if they have a TUN connection - you need to ask the hosting provider's technical service about this.

With KVM, no additional manipulations will have to be done, although some hosting providers may restrict the ability to create a VPN on it. You can also clarify this in the support service.

When configuring the server in the "Hostname" item, you can enter any value: for example, test.test... The prefixes NS1 and NS2 are also not important: we write ns1.test and ns2.test.

Operating system - CentOS 7.4 64 bit or any other distribution kit, there are no fundamental differences in setup. Leave the network traffic at 512 GB or choose an additional amount if you are afraid that the existing one will not be enough. Location - the closer the better. The Netherlands will do.

After payment, a letter will be sent to the mail with all the necessary data for setting up a VPN. You have purchased space on a server in another country, it remains to redirect all traffic to it.

Configuring VPN

We will use the Putty program to connect to the server and send commands. I received a link to it in an email with registration data for hosting. You can download the program. Putty and its counterparts are also available on macOS, the settings will be identical.

Run Putty. On the Session tab, in the Host Name field, enter the IP address that came in the letter and click Open.

When a warning window appears, click Yes. After that, the console will start, through which you will send commands to the server. First you need to log in - the authorization data is also in the letter from the hoster. Login will root, print it by hand. Copy the password to the clipboard. To paste the password into the console, right-click and press Enter. The password will not be displayed in the console, but if you are logged in, you will see the system information or server number.


There shouldn't be a long time between entering your username and password. If an error message appears, restart Putty and try again.

To set up the VPN, I used a ready-made OpenVPN road warrior script. This method does not guarantee complete anonymity, so it is easy to find the user when committing illegal actions. But it is enough to bypass the blocking. If all VPN services stop working, this connection will continue to function while I pay for hosting.

To use the script, paste the line wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh into the console.

After successfully adding the script, a dialog with the configuration wizard will start. He independently finds the optimal values, you just have to agree or choose the appropriate option. All actions are confirmed by pressing the Enter key. Let's go in order:

  1. The IP address must match the IP address that you received in the letter from the hoster.
  2. Leave the default protocol UDP.
  3. Port: 1194 - agree.
  4. Which DNS to use - choose Google. Erase 1 , write 3 and press Enter.
  5. Client name - enter the username. You can leave client.
  6. Press any key - press Enter again and wait for the configuration to complete.

After completing the configuration, you need to create a file through which you will connect to the VPN. Enter the command cat ~ / client.ovpn.

The contents of the file will appear in the console. Scroll up to the cat ~ / client.ovpn command and select everything that appears below except the last line. The selection should end with... To copy a fragment, press Ctrl + V.

Launch Notepad, paste the copied snippet and save the file on your desktop with the name client.ovpn.

We connect to the server

To connect using the created file, you need an OpenVPN client. The PC version can be downloaded. Download and install the program, but don't run it. Right click on the file client.ovpn and select Start OpenVPN.

A console window will appear with the initialization of the connection. If the connection was successful, the Initialization Sequence Completed status will be at the bottom. In the process of connecting, a window for selecting a network may appear, click on the public network.

To make sure the connection is correct,. It must match the one that the hoster wrote in the letter. To stop sending requests to a server in another country, close the OpenVPN window.

OpenVPN also has mobile clients.

To establish a connection, transfer the file to the phone's memory client.ovpn... Launch the application and select the OVPN Profile item. Specify the path to the file and move the slider to the "Enabled" position.


A VPN connection icon will appear at the top. To make sure that traffic is being redirected through a server in another country, open any IP address checker service in your mobile browser.

In the modern world, cyberspace has become much more popular than the real world. Young people enjoy playing online games and social media more than taking a walk or reading a book. And this is understandable - the availability of information increases awareness and overall human development. However, for some reason, information and social resources may be blocked by providers, government agencies or the sites themselves. In this case, do not despair, since the blocking can be bypassed in most cases.

What is a VPN connection and what is it for

VPN (English Virtual Private Network) is a generic name for technologies that allow one or more network connections (logical network) to be provided over another network (for example, the Internet). Despite the fact that communications are carried out over networks with a lower or unknown level of trust (for example, over public networks), the level of trust in the constructed logical network does not depend on the level of trust in the underlying networks due to the use of cryptography tools (encryption, authentication, public key infrastructure, means for protection against repetitions and changes of messages transmitted over the logical network).

Wikipedia

https://ru.wikipedia.org/wiki/VPN

In simple and understandable terms, VPN is the ability to access Internet resources through other networks. In this case, several levels of channel change are used, which means that your IP address is encrypted, and access is provided according to the scheme: Internet - virtual network (or several virtual networks) - Internet. When using a VPN, providers “see” a connection to a certain network or server, and further requests to resources are made through an encrypted channel. Thus, data packets are returned to you, regardless of the blocking of the Internet provider.

When connecting to the Internet via a virtual network, the provider does not monitor traffic

The main disadvantage of VPN is considered to be a decrease in speed while surfing and downloading files, however, technologies do not stand still and paid services already provide good connection speeds.

How to create and configure a VPN connection on Windows 10

There are several options for configuring VPN for Windows 10. They can be roughly divided into:

  • wired (standard OS tools);
  • third-party (special programs and browser extensions, as well as functions of some routers).

Create VPN through Windows Settings

Creating a virtual network through "Windows Settings" is the most time consuming, but at the same time the most reliable way to gain access to blocked resources. In addition, after creating a VPN, it is quite easy to manage it and, if necessary, change the server address:

  1. Press the key combination Win + I and go to the "Network and Internet" applet.
    In the "Windows Settings" block, open the "Network and Internet" item
  2. Open the VPN tab and click on the plus sign that says "Add VPN Connection".
    Click on the plus sign with the caption "Add VPN connection"
  3. Next, fill out the form:
  4. We save the changes through the button of the same name.

Click on the connection and click "Connect"

Open VPN servers can be found on the Internet, for example, or on a similar resource.

Video: How to Create a VPN Connection

How to disable or remove a VPN connection

If the need for a VPN has disappeared or you do not like the services provided, you can disconnect or delete the created connection:


Automatic configuration of a virtual network using special programs

Like most Windows features, VPN creation has been taken over by software developers. As a result, users have a whole market with programs that make it easier to create a tunnel and connect to virtual networks. Most of them represent a small window with only one button - connect / disconnect from the VPN.

One of these programs is HideGuard VPN. Using her example, it is very easy to trace how the connection to the virtual network occurs:


Configuring via a router

Unfortunately, not all routers support VPN connections. To do this, the router must have DD-WRT technology, but devices that are less than four years old almost certainly have the necessary firmware. The settings of the routers differ, but in general, the management of the virtual network is in the same tabs:


VPN in the browser

Instead of setting up a virtual connection for the entire computer, you can resort to partial use of VPN in the browser. To do this, you can use two possibilities:

  • internal browser settings (for example, Opera has a built-in feature with a good and free VPN);
  • extensions in browser stores.

"Turbo" modes in some situations can also be considered virtual networks, but they only work when your browser has a low speed of access to a certain address, in other cases the function is ignored.

To enable VPN in the Opera browser, you need to slightly change the browser settings. To do this, press the Alt + P key combination, select the "Advanced" item in the menu, then "Security" and slightly scroll down the page with the settings. We find the VPN graph and switch the toggle switch to the working position.


Turn on the VPN by moving the corresponding toggle switch to the right position

In other browsers, you can install additional extensions that add VPN functionality to the browser:


I prefer to use a browser-based VPN, and there are several reasons for this. First, for most extensions, you can set exceptions in the operation of the virtual network, and this gives huge advantages, for example, to apply the service to only one or two sites. The rest of the internet will use the original connection. Secondly, when downloading files through applications and exchangers, the traffic will not exceed the amount of information received, since packets are often "lost" when dozens of nodes in a virtual network pass. And besides, I always appreciate the connection speed, and the virtual network, even the paid and the fastest one, will slow down the data transfer, which is unacceptable in some cases.

Video: how to install VPN in Chrome, Opera, Mozila browsers

It's easy to work with a VPN on a Windows 10 computer. Using standard tools, you can create and configure a virtual connection. If necessary, you can quickly remove it or disable it temporarily.

The technology that creates a logical network in another network has received the abbreviation "VPN", which literally stands for "Virtual Private Network" in English. In simple terms, VPN includes different methods of communication between devices within another network and provides the ability to apply various protection methods, which significantly increases the safety of information exchanged between computers.

And this is very important in the modern world, for example, for networks of large commercial corporations and, of course, banks. Below are detailed guides on how to create a VPN, instructions on the procedure for making a VPN connection and how to properly configure the created VPN connection.

Definition

To understand more easily what a VPN is, you just need to know what it can do. VPN connection allocates a certain sector in the existing network and all computers and digital equipment located in it are in constant communication with each other. But the most important thing is that this sector is completely closed and protected for all other devices in the large network.

How to connect VPN

Despite the initially seeming complexity of VPN definition, its creation on Windows computers and even the VPN setup itself will not present much difficulty if there is a detailed guide. The main requirement is to strictly follow the strict sequence of the following steps:


Further, the VPN setup is performed, taking into account the various accompanying nuances.

How do I set up a VPN?

It is necessary to configure it taking into account the individual characteristics of not only the operating system, but also the operator providing communication services.

Windows XP

In order for VPN in the Windows XP operating system to successfully carry out its work, the following sequential steps are required:


Then, when operating in the created environment, you can use some convenient functions. To do this, you need to do the following:

Note: The parameters are always entered differently, as they depend not only on the server, but also on the service provider.

Windows 8

In this OS, the question of how to set up a VPN should not cause any particular difficulties, because here it is almost automated.

The sequence of actions consists of the following steps:

Next, you need to specify the network options. To this end, perform the following actions:


Note: Entering the settings can vary significantly depending on the network configuration.

Windows 7

The process of making settings in Windows 7 is simple and accessible even to inexperienced computer users.

To produce them, a Windows 7 user needs to take the following sequential steps:

Note: in order to work correctly, a careful individual selection of all parameters is required.

Android

To configure the normal functioning of an Android gadget in a VPN environment, you need to do a few steps:

Connection characteristics

This technology includes different types of delays in data transmission procedures. Delays occur due to the following factors:

  1. It takes some time to establish a connection;
  2. There is a constant process of encoding the transmitted information;
  3. blocks of transmitted information.

The most significant differences are present in the technology itself, for example, for VPN you do not need routers and separate lines. To function effectively, you only need access to the World Wide Web and applications that provide information encoding.

Using a VPN is one of the easiest and most reliable ways to hide your real location, protect your personal data and messages on your smartphone, computer or tablet from theft. At the same time, you do not need complex setup steps and high costs. Websites and services will ensure that you are in the country where the VPN server is installed.

In this article, we will explain what a VPN is and how to set it up on an Android smartphone.

What is VPN

Virtual Private Network - virtual private network... The term means the creation of a closed network within a public one, for example, the Internet. Initially, the mechanism for creating virtual private (private) communication spaces was created to provide greater security. Entering the VPN server you find yourself inside the network space protected from external attacks.

The degree of trust in this technology can be judged because it is actively used by large corporations to create their secure distributed networks. They trust sensitive data to the reliable means of cryptography that are at the heart of it.

When entering a virtual network, the user does not need to physically connect any additional wires. He simply enters his username and password on the VPN server. From this moment on, all requests to Internet resources are made already on behalf of the virtual ip-address issued at the entrance.

Some experts compare working on a virtual private network to driving through a tunnel located under a busy highway, where ordinary users move. Your channel is encrypted and cannot be attacked from outside... However, you are using the same hardware and wires as non-secure users.

How to set up a VPN on Android

There are two options to enable VPN in Android: install the application from Google Play or set up a username and password in Settings. Below we list these methods in order of increasing complexity for the user.

Installing the VPN app

We advise you to start with the program Turbo VPN ... It does not require registration and entering passwords and is free for most typical application scenarios: web surfing, messengers, and so on.

The user is required to:

  1. After a 3-second wait, traffic is already redirected to the server selected by the application itself.

  1. To “change citizenship”, in the program settings, you can select a server from a specific country. Just click on the checkbox icon in the upper right corner.

  1. Here, in the Settings, the function of automatic connection is set when the application starts.

  1. It is convenient to control the operation of the application by the messages displayed in the notifications. When you click on them, the program reports the channel parameters: download and upload speed, the total number of transmitted data in MB.

  1. If you need to return to normal operation with a real IP address, click on the program icon in the notification window and turn off the VPN with the cross button.

Currently, dozens of VPN connection programs are available for Android users. They are:

  • Paid. Traffic is charged, the user pays a fixed amount of the program cost during installation or uses a paid subscription for a month. For example, the application OpenVPN Client.
  • Shareware. Basic features are free, but you will have to pay extra for speed or traffic in excess of the limit, and you may also be charged for additional features and features. In particular, this is how the developers do it.VPN Master-Free unblock proxy.
  • Free. The existence of such projects pays off with ads that you will watch from time to time. They are very popular. So, the application Hotspot Shield Free VPN has over 500 million downloads.

Using Android's native VPN connectivity

Modern versions of Android support work via VPN without third-party applications. In Settings, find the Connection item.

Head over to the VPN setup and management category.

Please note that after installing the Turbo VPN application, there is already one setting in the menu for working with a virtual network. To make your own, click the Add button.

To correctly fill in the server name, username and password, you will need to register on one of the free or paid virtual network services. For example, you can use the service ExpressVPN ... Its work is possible in 90 different countries, torrents are not blocked and high-definition video stream up to 4K is supported.

In Russia, the fastest and cheapest is considered VPN99 ... The subscription fee at the time of this writing is no more than $ 1 per month.

Search in Yandex or Google will help you choose such a service. When comparing services, focus on their reliability and speed, as well as user reviews. You can organize your own VPN server yourself. Even a novice system administrator can handle this work.

What you can use a VPN for

Typical scenarios where such services are useful:

  • Protection their personal data from websites and online stores. Traffic to the server is encrypted, the real ip-address cannot be determined. At the same time, anonymity is ensured not only in the Internet browser, but also in instant messengers and other programs on your phone.
  • Country change and region. You can introduce yourself as a user from the United States or European countries to receive special prices and terms of service on certain Internet resources.
  • Bypassing blocked resources... Using a VPN is the main way to bypass the blocking of services blocked in your country. Ukrainian users bypass the blocked in Ukraine VKontakte and Yandex. Russian users using VPN can work with blocked Telegram.
  • Saving mobile traffic... In some cases, the protocols used for working with VPN servers can reduce the amount of charged traffic and reduce communication costs.

Free VPN service limitations

The benefits of free services are clear. They are enough to meet the needs of an ordinary Internet user who uses a web browser, instant messenger and other applications that do not actively consume traffic.

But it's worth remembering that free servers have a number of limitations:

  • Low speed and traffic restrictions. In many cases, torrents and other programs that require a large amount of transferred data are blocked. Free server operators are trying to reduce the load on the equipment in this way and encourage users to switch to paid tariffs.
  • Low reliability... Nobody guarantees that the server will be available 24 hours a day, 7 days a week. Users sometimes have to change the server due to its shutdown or overload of clients.
  • Advertising... Often, to recoup their costs, free operators resort to displaying advertisements and paid ads to their users.

Benefits of Paid VPN Servers

  • High reliability and availability of technical support. This allows you to count on the stable operation of the service and the preservation of the confidentiality of user data. Do not forget that the server itself knows your real ip-address and some other information.
  • No restrictions by streaming video in high definition. The capacities of these companies are incomparably higher than those of free ones; they can provide their customers with a higher data transfer speed.
  • Confidence that soon the server will not be closed.

From a legal point of view, the use of VPN is not yet prohibited. Virtual personal networks will allow you to maintain anonymity on the Internet and provide a number of other benefits. But the use of the locked resources themselves is associated with a certain risk. This should be remembered.

How to set up VPN for Telegram or how to bypass blocking

Bypassing blocked resources is one of the popular uses of VPN. The principle is simple. Telegram is blocked in Russia, but not in the US. You go to a virtual network server located in the United States and get access to any resources allowed in that country.

Telegram also has a special proxy bot that will help ensure that the messenger works in blocking conditions without redirecting all smartphone traffic to the VPN. The bot issues a link for registration. After going through it, the user receives the server address and port, username and password.

To set up a proxy yourself, you must:

Especially for our readers - do repost this entry and leave

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

What is a VPN connection and why you need it

This technology means a secure network built on top of an unsecured network. The VPN client, using the public network, connects to the VPN server through special protocols. The server accepts the request, verifies the identity of the client, and then transmits the data. This is provided by means of 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 that restricts access to the 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?

  1. Through "Start" open "Control Panel", then start "Network and Sharing Center".

    Select the "Network and Sharing Center" area

  2. Follow the link "Setting up a new connection or network".

    To create a new connection or network, you need to click on the corresponding line in the list

  3. Click "Connect to workplace".

    Select "Connect to the workplace"

  4. Select "Use my internet connection (VPN)".

    Select "Use my Internet Connection (VPN)"

  5. In the "Internet address" field, enter the address of your VPN server.
  6. To find it out, you need to run the Run tool (Win + R) and enter cmd.

    You need to enter cmd in the line and press "Enter"

  7. Then write the ipconfig command, run it and find the line "Default gateway", which contains the required address.

    You need the address that is in the line "Default gateway"

  8. Now you need to insert the address and tick the box "Do not connect now ..." and click "Next".

    Enter the received address in the field, put a tick in front of the item "Do not connect now ..."

  9. Enter the login and password provided by the provider and click "Create".

    Enter username and password

  10. Close a window.
  11. Open Network and Sharing Center again and click Change adapter settings.
  12. The VPN connection icon appeared here. To make a connection, you need to right-click on the icon and click "Connect". To disable - also right-click on the icon and click "Disable".

    There is a VPN connection icon here, through which you can connect or disconnect

  13. In the window that opens, you need to enter your username and password and connect.

    Enter your username and password (if necessary) and click "Connect"

Video: Create and Configure a VPN

Possible errors and solutions to problems

400 Bad Request

  1. Disable a firewall or other program that affects security and network activity.
  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 the technical assistance service.
  2. Close some programs to improve system performance.

629

Check firewall settings. As a last resort, you can disable it, but this is undesirable, as the level of security will decrease.

630

Reinstall the network adapter driver.

650

  1. Check if "Local Area Connection" is working.
  2. There is a problem with the network card or network cable.

738

  1. Perhaps the username and password were stolen by hackers.
  2. The session "hung up". After a few minutes, try to connect again.

752

  1. The local firewall is incorrectly configured.
  2. Access attributes changed (international phone number instead of VPN server address).

789

Open the VPN connection settings, go to the "Network" tab and select "Automatic" or "Point-to-Point Tunneling 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. Perhaps they got lost or were removed. 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 box next to Obtain an IP address automatically and Obtain DNS server address automatically.
  2. If a router or router is used, then the "Default gateway" field is 192.168.0.1 (192.168.0.1). Read more about this in the instructions for the router. If you know 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 above.
  3. Conflict of IP addresses (there is a yellow exclamation mark on the monitor icon in the tray). 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, then the IP address is not the one specified in the contract with the provider. In this case, you need to change the IP address.
  4. There may be a problem with the subnet mask or DNS server. They must be specified in the contract. In cases where a router is used, 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 mmc devmgmt.msc in the line. In the window that opens, click on "Network adapters". If it is disabled (crossed out), then you need to start it. If the card does not turn on, it means that it has burned out or came out of the slot (the second option is possible only if the card is not built into the motherboard). If the card works, then turn it off and start again. As a last resort, you can remove the network card from the configuration and click on the "Update hardware configuration" icon. The system will find the network card and install it.
  6. Invalid VPN server address. It must be indicated in the instructions. If there is no such information, then you need to contact the technical service. If the Internet works without a VPN connection, then go to the provider's website and find the address of the VPN server. It can be either alphabetic (vpn.lan) or in the form of an IP address. To view the address of the VPN server, you need to open the properties of the VPN connection.
  7. There is no money on the personal account.

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

How do I enable automatic launch?

  1. In order for the connection to start automatically, you need to go to "Control Panel" - "Network and Internet" - "Network Connections".

    Find VPN in the control panel

  2. We find the VPN, open the properties, then go to the "Options" tab and uncheck the "Show connection progress", "Prompt for username, password" and "Enable Windows logon domain" checkboxes.
  3. Then you need to open the Windows Task Scheduler. Go to "Control Panel" - "System and Security" - "Administrative Tools" - "Task Scheduler". Or you can go through the registry: Win + R, enter the line taskschd.msc.

    Opening the task scheduler

  4. In the menu, select "Action", then "Create a simple task".

Top related articles