The address for vpn connection. Configuring a VPN connection using Windows OS

A technology that creates a logical network in another network received the abbreviation "VPN", which literally means English language stands for "Virtual Private Network". 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 is configured, 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

To have a VPN in the operating room Windows system XP has successfully carried out its work, it is required to perform the following sequential steps:


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 things:

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, routers and separate lines are not needed for VPN. To function effectively, you only need access to the World Wide Web and applications that provide information encoding.

Every day the expanses of the Internet are immediately growing, the number of users is becoming more and more. Then providers start offering us to use vpn technology. Indeed, this compound has a lot of advantages, but there are practically no disadvantages, we will talk about this below. In this article, we will look at how to set up a vpn connection and why you need it.

What is a VPN server

VPN is an abbreviation in English that translates as "Virtual Private Network". It is important to know that vpn technologies are used over an already established local or Internet network. They easily connect all computers into one unified system... The most important and important advantage of vpn is the excellent protection of the transmitted data, which is ensured by the encryption of the code.

If computers have physical access to each other, which is provided by a connection network cable or wi fi, then a vpn server must be installed. Do not worry, a regular computer or laptop is perfect for this role. True, you have to install the necessary software.

The task of the vpn server is to manage and configure the connection between the virtual network and the child machine.

On computers or, more simply, machines, you will need to establish a vpn connection. This process can be simplified and written like this: setting and setting the name of the vpn server, recording the address and password, which will be useful for a successful connection. The trouble is that there are many different operating systems, and, accordingly, the setting is different everywhere. Let's consider the most popular options in more detail.

How to set up a vpn connection in Win XP

How to set up a vpn connection

Execute the following instruction:

  1. Click on the "Start" button, which is located in the lower left corner of the screen. Go to "Settings", then "Control Panel" and click on the shortcut "Network Connections".
  2. You need to find the section "Network tasks", here select "Create a connection"
  3. You can read the welcome from the setup assistant and click "Next".
  4. Here, select "Connect to a network at the workplace" and click "Next".
  5. Item "Connection to virtual. network ”, and again“ Next ”.
  6. Now is the time to pee a little, come up and add a name for the future network.
  7. Now it's time to use the phone. Dial the provider's number and find out the address of the vpn server. After that, put the phone aside and write down the received data.
  8. Finish your work, it is advisable to select the item in which the installer offers to create a shortcut on the desktop.

After creating a network, the computer should automatically connect you to it. If this does not happen, then do it manually. Do not forget that the created connection can be completely edited and changed.

How to set up vpn on Win 7

More and more people are switching from win xp to win 7, and only the most faithful remain. This is not surprising, time passes, technologies change, and people are drawn to more perfect and simpler ones.

To create a connection on this operating system, you only need to follow the instructions below. The main part of the process is practically the same as previous version, but still there are small changes.

vpn server

  1. Go to the Network Sharing Center. To do this, click on the "Start" button, then select "Control Panel".
  2. Select "Establish a connection".
  3. You are interested in the item "Connection to the workplace", click "Next".
  4. The system will ask you a question to which you must answer as follows: "No, create a new network", click on the "Next" link.
  5. Select the "Use my connection" section. You will have to work with the connection itself later, so click on the "postpone decision" button.
  6. In the address field, enter the relevant information that we learned from our provider in advance. After that, we call the connection any name we like.
  7. Pay special attention to the next item, which configures access for other users. If you want to allow other people to use this connection, then select "Allow", otherwise select "Deny".
  8. Click Create.

That's all, now you know how to set up a vpn server on Win 7. For convenience, you can install a shortcut with a connection in the quick launch panel or on the desktop. To do this, right-click on the shortcut and click on the "Create shortcut" item, then select it and drag it to the desired location.

To connect to a new connection, double-click on the shortcut, or right-click on it and select "Open".

You can also simplify your further work and select the "Save password and login" item. This way you don't have to enter your personal data all the time.

On first launch vpn systems connections, you can choose your location. If you click on the item "Public place", you will receive additional protection from the win 7 system.

Similar to the win xp system, the seven prompts you to make any settings and changes to the system. You can change the password, name and other parameters. To do this, right-click on the connection shortcut and select "Properties".

How to set up vpn and Android OS

Perhaps one article is not enough to describe all the advantages of this operating system. But in our lesson we are dealing with a completely different topic, so it will not deviate from the course. So, in order to make all the settings, you need to do the following:

  1. Open the settings tab, then select the "Manage wireless networks" item. Here, pay attention to the vpn settings and click on "Add VPN".
  2. Confirm your actions and add "PPTP VPN".
  3. As usual, you will have to give a name to the new connection, then specify the server address (we obtained it from the provider) and save all changes.
  4. It remains only to connect to the network, to do this, double-click on the shortcut.
  5. In the window that appears, enter your personal data - password and login.

Now you know how to set up vpn on Android. It is worth mentioning that any settings and changes can be made here. And also you can create a shortcut for convenience, save your personal data and make this connection autoload.

sovetisosveta.ru

How to use a VPN on iPhone, iPad, and iPod touch

VPN is a feature available on iPhone, iPad and iPod touch that allows you to change the IP address of your device when you access the Internet. There are several ways to take advantage of it.

What is a VPN for?

The use of a VPN leads to the fact that when accessing the Internet, all sites and other objects that request your IP will not receive your individual number, which says from which location you enter the network, but another, tied to another place or another country ...

This function can come in handy in cases where you need to get to a site that is blocked in your country, or to enter any resource blocked by the settings of the Wi-Fi network through which the connection is made. VPN provides anonymity, that is, no one will know that it was from your device that a particular Internet resource was entered.

That is, if you are, for example, in Russia, then with the help of a VPN, you can set such an IP for your connection, thanks to which it will be displayed everywhere that you are, for example, in Italy.

VPN use is officially prohibited in Russia.

How to use a VPN

On iPhone, iPad, and iPod touch, there are two ways you can use VPN services: through your device's built-in settings, or third party application.

Using VPN through built-in settings

To use this method, you will have to find a site that provides VPN services in advance and create an account on it.

Video: setting up a VPN using the system

Using a VPN through a third party app

There are many VPN programs available. One of the best is Betternet, which can be installed for free from the App Store. To connect and disconnect the VPN, you need to press just one button, and the time itself using VPN not limited. That is, you do not have to manually enter settings, create accounts or use any other additional services. It is enough to install the application, go into it and press the Connect button to connect and Disconnect to disconnect.


Connecting or disconnecting from VPN via Betternet

Also, you can independently choose which country the VPN will bind you to.

Choosing a VPN server over Betternet

Video: VPN setup with Betternet

What to do if the VPN icon is missing

If the device is connected to the network via VPN, then the icon in top panel notifications. The disappearance of this icon means that you are still connected to the Internet, but redirection through the VPN is over. That is, the VPN connection is interrupted, it can be deactivated on its own due to an unstable Internet connection or problems on the server providing VPN services. In this case, you must manually reconnect to the VPN again using one of the methods described above. You may need to reboot the device first and then reconnect.

VPN icon in the notification bar

What to do if VPN doesn't work

The VPN connection may not work for two reasons: an unstable Internet connection or a problem with the server providing the VPN service. First, check if your connection is stable to mobile internet or Wi-Fi network. Secondly, check the correctness of the settings entered if you used the first method described above, or install any other application other than the one described above in the second method, if you used it.

The best way get rid of the problem with connecting via VPN - choose another service or application. The main thing is to find the VPN that will work in your area.

VPN allows you to use services blocked in your area. You can use it through the settings of the Apple device or a third-party application.

dadaviz.ru

VPN - what is it, how to create a connection to a free virtual server and set up a connection

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

What is VPN connection

Many people, when faced with 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.

The organization of a private virtual network at the network levels allows the use of 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 is and why you should use one. This issue will be discussed in detail below.

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

  1. A VPN service is used to send confidential company data between branches. This helps protect sensitive information from being intercepted.
  2. If you need to bypass the geographic location of the service. 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 bypass this ban by replacing the network address with a Russian one.
  3. Hide website visits from the provider. Not every person is ready to share their activities on the Internet, so they will protect their visits with the help of a VPN.

How VPN works

When you use a different 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 that, the provider's logs (records) will contain a set of incomprehensible characters. Analysis of the data by a special program will not give results. If you do not use this technology, then 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 "external", through which the encapsulated connection takes place, 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 a VPN software connects a remote user, the server requires two important processes: first identification, then authentication. This is necessary to obtain the rights to use this connection. If you complete these two steps completely successfully, your network is empowered to work. Essentially, this is an authorization process.

VPN classification

There are several types of virtual private networks. There are options for the degree of security, the way of implementation, the level of work according to the ISO / OSI model, the protocol involved. You can use a paid service 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:

How to create a VPN server

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

  1. To make a new connection, you need to open the network access panel. Start typing the word "Network Connections" in your search.
  2. Click on the "Alt" button, in the menu click on the "File" section and select "New incoming connection".
  3. Then set the user who will be given a connection to this computer via VPN (if you have only one Account on a PC, you must create a password for it). Install the bird and click "Next".
  4. Next, you will be prompted to select the type of connection, you can leave a checkmark in front of "Internet".
  5. The next step will be to enable network protocols that will work on this VPN. Check all boxes except the second. You can set specific IPs, DNS gateways, and IPv4 ports if you want, but it's easier to leave the automatic assignment.
  6. When you click on the "Allow access" button, the operating system will create a server on its own, display a window with the name of the computer. You will need it to connect.
  7. This completes the creation of a home VPN server.

How to set up a VPN on Android

The above described the way how to create a VPN connection on personal computer... However, many have long been performing all actions using the phone. If you do not know what a VPN for Android is, then all the above facts about this type connections are also valid for a smartphone. The configuration of modern devices ensures comfortable use of the Internet at high speed. In some cases (for launching games, opening sites), proxy substitution or anonymizers are used, but for a stable and fast connection, a VPN is better suited.

If it is already clear to you what a VPN to your phone is, then you can go directly to creating a tunnel. This can be done on any Android-enabled device. The connection is made as follows:

  1. Go to the section with settings, click on the "Network" section.
  2. Find the item titled " Additional 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 a name in the "Server" field, a name in the "username" field, set the connection type. Tap on the "Save" button.
  4. After that, 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 to indicate 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

sovets.net

How to enable VPN in Opera: instructions for PC and smartphones (2017)

Consider how to quickly turn on Opera browser VPN mode to stay anonymous online.

This technology allows you not only to hide your location, but also to protect all data that is transmitted and processed during the session.

Only after connecting a private network is it better to log in to social networks, enter logins and passwords and make transactions over the Internet. Most often, for users, technology is not so important for protecting data as for opening access to blocked sites and services.

Content:

The browser developers have created a built-in user data protection system. The network can now be activated without downloading additional programs and browser extensions.

The user just needs to activate the mode and continue to use the sites as usual.

Before using the mode, make sure the following requirements are met:

  • Opera 40 or more installed on the computer a new version browser. Older versions of the program do not support built-in VPN mode. You can download the latest version of Opera for free on the developer's official website;
  • In the operating system and other browsers, all programs that create a private data exchange network are disabled. Enabling multiple VPNs at once does not make sense and can cause traffic failure.

To enable in the desktop version, follow the instructions:

  • Open your browser and click on the "Settings" item in the main menu tab, or press the Alt + P key combination;

Fig. 2 - the main browser window

  • In the window that opens, find the security settings tab and select it;
  • On the right side of the window, check the "VPN" checkbox to activate the virtual private network.

Figure 3 - Activating a Private Network Using Built-in Browser Functions

After enabling the option, the speed of the Internet connection may drop by an average of 20% -30%. This is due to the fact that all user requests are first sent not to the provider, but to remote server, which requires additional time.

The provider of the proxy server for the built-in VPN is SurfEasy Inc.

In this article, Mr. Whoer will tell you about 12 possible problems with vpn. Is not detailed manual on VPN troubleshooting, but hopefully this article will tell you what to do if vpn stops working and how to set up a vpn connection.

1. I am connected to the VPN, but I cannot see a specific website

It is possible that you are unable to connect to one specific website, especially if you see your VPN is working fine and other websites are available. Try clearing the cache in your browser (Ctrl + F5). Restart your computer just in case.

DNS settings can also interfere with the loading of certain sites, read more about this in paragraph 3.

In addition, the site may not be accessible from the VPN server of your choice due to geographic restrictions. Try changing the server country.

2. The connection to the VPN is established, but data is not transmitted

Check if you are using another VPN client at the same time. You need to find vpn among running programs even if it is in the background. Disable and exit all VPN programs that are installed on your computer, except for the one you are planning to use at the moment.

Also, the problem with connecting to the Internet can sometimes arise if you use one VPN client simultaneously on several devices (for example, on a mobile device and a desktop computer) and these devices are connected to the same VPN server. Solution: if it turns out, for example, that the server country Germany is selected on the computer in the VPN client, and on the mobile device too, then try changing the country on one of the devices, say, to Switzerland.

3. Connection to the site works by IP address, but not by domain name

You can also try connecting to the site you want by its IP address, not by name. If you can access previously inaccessible resources using IP addresses, this could indicate a DNS problem. Check which DNS servers are configured for use on your computer.

You can find instructions on what DNS is and how to change it.

4. There is a VPN connection, but sites are not loading

Fire up your browser and visit several different sites to make sure your internet connection is actually working. If your computer is in wireless network and you have problems with your internet connection or hotspot, before you can use a VPN, you need to solve your wireless connection problems.

5. Problems with the VPN client

Make sure that the VPN client was installed exactly as indicated in; reinstall the client, re-enter your login information.

1. Uninstall the application
2. Restart your computer
3. Install the client
4. Restart your computer
5. Try to connect

6. Connected to the VPN server, but there is no internet

If some servers are connecting and others are not, then the problem is related to the location of the server to which you were connecting when starting the VPN client. Try to reconnect, it is possible that one specific server is not working, but other servers in this country are. You can also try restarting the client, this is especially recommended if you are trying to connect to the server for the first time since installation.

7. Problems with VPN protocol

Select the "Use UPD connection" option in the settings.

8. VPN does not work on home network

If you are using a laptop or mobile device, visit a free public wi-fi hotspot (cafe, library) and try connecting to a VPN from there.

If the VPN works when connected via a hotspot network, you should look for the problem in your home network... Maybe you need to change some network settings which can cause problems with vpn access.

9. Programs block VPN work

Firewall and anti-spyware can interfere with VPN performance. Antivirus software can also set default vpn limits. Usually firewalls are not a problem. However, some older versions do not work as expected with a VPN connection. To find out if this is your case, temporarily disable your firewall and try to connect to the VPN server again. If the problem is with a firewall, you may have to open some outgoing ports, which depending on the VPN and software the firewall may change.

You can also try disabling the security software and try again to connect to the VPN client. If that doesn't work, try adding the VPN client as an exception to your firewall and antivirus software and unblock the ports commonly used for VPN connections: TCP 443, TCP 1701, and TCP 1723.

10. Your home router (router) does not support VPN

Some routers do not support VPN Passthrough (a router function that allows traffic to flow freely over the Internet) and / or the protocols required for certain types of VPNs to work. When purchasing a new router, be sure to check if it is marked as VPN capable.

If you are having problems connecting to a VPN, search the Internet for a specific brand and model of router plus the word "VPN" to see if there are reports that your router model does not work with VPN and if there is a way to fix it ...

Your router manufacturer may offer a firmware update that includes VPN support. If there is no such update, you will have to purchase a new home router, but contact the service first technical support your internet service provider for advice.

11. Problems in router settings, VPN transit and VPN ports and protocols

If you find that your router model supports VPN Passthrough, check your home network's router and personal firewall configuration settings for the following:

In the security settings, you can find such vpn connection configuration options as enabling IPSec Passthrough and PPTP Passthrough. These are the two most common types of VPN connections. You can try enabling both.

Check port forwarding and protocols. In your firewall (inside the router and separately in any installed programs firewall) may require transmission over specific ports and open protocols. IPSec VPNs must have UDP port forwarded 500 (IKE) as well as protocols 50 (ESP) and 51 (AH). For PPTP, Microsoft's VPN tunneling protocol, you need TCP forwarded port 1723 and IP protocol 47 (GRE).

It's not as difficult as it sounds. To get started, read the user manual of the router or look at the manufacturer's website for information regarding "VPN". You need to find what is specific to your specific device model.

12. Problems arising when connecting to a local network.

VPN will not work if your IP address is in the same IP range as your the local network... An example of this is your computer's IP address 192.168.1. , this means that the network is using the 192.168.1 addressing scheme. ...

To find the IP address of your computer in Windows, go to Start> Run ... and type cmd to launch a command window. In this window, enter ipconfig / all and press Enter. Find your network adapter and check the "IP Address" field.

If you find out that your IP address matches the IP range, you need to make some changes to your home router settings.

Go to the configuration page of your router and change the IP address of the router so that the first three blocks of numbers in the IP address are different from the IP subnet (in our example: to 192.168.2.1.)

Also find the DHCP server settings and change it so that the router issues IP addresses in the required address range (in our example, from 192.168.2.2 to 192.168.2.255.)

Additionally, watch our video, where we also talk about emerging VPN problems for users.

Every year electronic communication is improving, and more and more high requirements for speed, security and quality of data processing are imposed on information exchange.

And here we will take a closer look vpn connection: what it is, what is a vpn tunnel for, and how to use a vpn connection.

This material is a kind of introductory word to a series of articles where we will tell you how to create a vpn on various operating systems.

vpn connection what is it?

So, a virtual private network vpn is a technology that provides a secure (closed from external access) connection of a logical network over a private or public one in the presence of high-speed Internet.

Such a network connection of computers (geographically distant from each other at a considerable distance) uses a point-to-point connection (in other words, “computer-to-computer”).

Scientifically, this type of connection is called vpn tunnel (or tunnel protocol). You can connect to such a tunnel if you have a computer with any operating system in which a VPN client is integrated, capable of forwarding virtual ports using the TCP / IP protocol to another network.

What is vpn for?

The main advantage of vpn is that negotiating parties need a connectivity platform that not only scales quickly, but also (above all) ensures data confidentiality, data integrity, and authentication.

The diagram clearly shows the use of vpn networks.

The rules for connections via a secure channel must be preliminarily written on the server and router.

How vpn works

When connecting via vpn, the message header contains information about the ip-address of the VPN server and the remote route.

Encapsulated data traveling over a public or public network cannot be intercepted because all information is encrypted.

The VPN encryption stage is implemented on the sender's side, and the data is decrypted at the receiver by the message header (if there is a common encryption key).

After correct decryption of the message, a VPN connection is established between the two networks, which also allows working in a public network (for example, exchanging data with the 93.88.190.5 client).

As for information security, the Internet is an extremely insecure network, and a VPN network with OpenVPN, L2TP / IPSec, PPTP, PPPoE protocols is a completely secure and secure way of transferring data.

What is a vpn channel for?

vpn tunneling is used:

Inside the corporate network;

For combining remote offices, as well as small branches;

To service digital telephony with a wide range of telecommunication services;

To access external IT resources;

For the construction and implementation of video conferencing.

Why do you need vpn?

vpn connection is required for:

Anonymous work on the Internet;

Downloading applications, in the case when the ip address is located in another regional zone of the country;

Safe work in a corporate environment using communications;

Simplicity and convenience of connection settings;

Providing high speed connection without interruptions;

Creation of a secure channel without hacker attacks.

How to use vpn?

There are endless examples of how vpn works. So, on any computer in the corporate network, when establishing a secure vpn connection, you can use mail to check messages, publish materials from anywhere in the country or download files from torrent networks.

Vpn: what is it in a phone?

Access via vpn on your phone (iPhone or any other android device) allows you to remain anonymous when using the Internet in public places, as well as prevent traffic interception and device hacking.

A VPN client installed on any OS allows you to bypass many of the provider's settings and rules (if the provider has set any restrictions).

Which vpn to choose for the phone?

Android mobile phones and smartphones can use applications from Google Playmarket:

  • - vpnRoot, droidVPN,
  • - tor browser for surfing networks, aka orbot
  • - InBrowser, orfox (firefox + tor),
  • - SuperVPN Free VPN Client
  • - OpenVPN Connect
  • - TunnelBear VPN
  • - Hideman VPN

Most of these programs serve for the convenience of "hot" system configuration, placement of launch shortcuts, anonymous Internet surfing, and the choice of the type of connection encryption.

But the main tasks of using a VPN on your phone is to check corporate mail, creating video conferencing with several participants, as well as holding meetings outside the organization (for example, when an employee is on a business trip).

What is vpn in iPhone?

Let's consider which VPN to choose and how to connect it to an iPhone in more detail.

Depending on the type of network supported, when you first start the VPN configuration in the iphone, you can select the following protocols: L2TP, PPTP and Cisco IPSec (in addition, you can "make" a vpn connection using third-party applications).

All of these protocols support encryption keys, password authentication and certification.

Among additional functions when setting up a VPN profile in an iPhone, you can note: RSA security, encryption level and authorization rules for connecting to the server.

For an iphone phone from the appstore, you should choose:

  • - free app Tunnelbear, with which you can connect to servers VPN any country.
  • - OpenVPN connect is one of the best VPN clients out there. Here, to run the application, you must first import the rsa keys via itunes into your phone.
  • - Cloak is a shareware application, because for some time the product can be “used” for free, but to use the program after the demo period expires, you will have to buy it.

VPN Creation: Selecting and Configuring Equipment

For corporate communications in large organizations or associations of offices remote from each other, hardware equipment is used that can support uninterrupted, secure network operation.

To implement vpn technologies, the following can act as a network gateway: Unix servers, Windows servers, a network router and a network gateway on which the VPN is installed.

A server or device used to create an enterprise vpn network or a vpn channel between remote offices must perform complex technical tasks and provide a full range of services to users both on workstations and on mobile devices.

Any router or vpn router should provide reliable network operation without freezing. And the built-in vpn function allows you to change the network configuration for work at home, in an organization or a remote office.

Configuring vpn on a router

In general, the VPN configuration on the router is carried out using the router's web interface. On "classic" devices for organizing vpn, you need to go to the "settings" or "network settings" section, where you select the VPN section, specify the type of protocol, enter the settings for your subnet address, mask and specify the range of ip-addresses for users.

In addition, to secure the connection, you will need to specify encryption algorithms, authentication methods, generate negotiation keys, and specify DNS WINS servers. In the "Gateway" parameters, you need to specify the gateway ip-address (your ip) and fill in the data on all network adapters.

If there are several routers in the network, it is necessary to fill in the vpn routing table for all devices in the VPN tunnel.

Here is a list of the hardware used to build VPN networks:

Dlink routers: DIR-320, DIR-620, DSR-1000 with new firmware or D-Link DI808HV router.

Cisco PIX 501, Cisco 871-SEC-K9 Routers

Linksys Rv082 router with 50 VPN tunnels support

Netgear DG834G router and FVS318G, FVS318N, FVS336G, SRX5308 routers

Mikrotik router with OpenVPN function. RouterBoard RB / 2011L-IN Mikrotik example

Vpn equipment RVPN S-Terra or VPN Gate

ASUS Routers RT-N66U, RT-N16 and RT N-10

ZyXel routers ZyWALL 5, ZyWALL P1, ZyWALL USG

Greetings! And straight to the point. What is a VPN server for? It is mainly used to change the IP address and their country in order to bypass various blocking sites at work and at home. In addition, a VPN connection helps encrypt traffic and thus ensures the security of the transmitted data.

For example, using public Wi-Fi, all data transmitted over the network can be hijacked. In theory, these can be any files, but they usually steal passwords from wallets, mail, Skype and whatever. In this article, we will set up our own VPN server, it is not difficult. Despite the volume of the text, the main action takes up a small part, and the rest is goodies 🙂 There is also a video in the article.

There are tons of them on the internet, ranging from free to very paid ones. Disadvantages of Free VPN Services:

  • limited in speed
  • instability (sometimes everything is good, sometimes it slows down terribly)
  • traffic restrictions (up to several Gigabytes per month)
  • restrictions on the free trial period
  • periodically you need to look for other services
  • not the fact that the transmitted data will be safe, you should not rely on anonymity at all, I would say.

Disadvantages of paid ones:

  • there is not always the right country or city
  • hackneyed IP addresses (used by hundreds of clients), also applies to free
  • there is simply a deception without a refund, for example, traffic is not unlimited, some servers are not working or are too slow

There are also advantages of VPN services - they are ease of use, relative cheapness.

Own VPN server hosted by VPS / VDS

So, if you need a specific country or city, or you need a lot of traffic that VPN services do not provide, a guarantee of security - then it makes sense to get confused by setting up a personal VPN server. This usually requires deep knowledge. system administration servers. But I tried to explain everything simply so that even the kettle could figure it out)

This method also has disadvantages:

  • there is only one IP-address to which you can "transfer", but there are additional ones for a fee
  • non-trivial setup for the first time
  • paid

Read on to the end, and I will show you how to use your VPS server to bypass blocking without setting up a VPN on it.

What is a VPS / VDS server?

There are countless hosting providers on the Internet. All of them allow them to host their websites. The most popular service is shared hosting. More advanced is a dedicated virtual server - VPS (VDS is the same thing). You can host sites on a VPS, set up a VPN server, mail server, game server - whatever!

You need to know that there are several types of VPS servers: OpenVZ, Xen and KVM. For the VPN server to work, you need KVM... The server type is indicated in the hosting tariffs. OpenVZ and Xen are also sometimes suitable, but you need to write to the hosting technical support and ask if the “TUN” module is connected. Without going into details for what it is, just ask. If not, can they turn it on. It also doesn't hurt to ask if the VPN will work as such (even on KVM), since some companies cover up this opportunity. Oh yes, the server operating system is Debian, Ubuntu or CentOS (in general, Linux-like). Server capacity doesn't matter.

Setting up a VPN server

I have a KVM VPS server at my disposal. Everything works here at once, you don't need to write anywhere.

  • When ordering a service, you can choose the simplest tariff plan"Micro"
  • All sites open even on servers in Russia
  • There is a free trial period of 7 days
  • Technical support helps
  • For my visitors, when you enter the promo code: itlike60 - you will receive a real 60% discount on the first payment.

"Hostname" enter any or the name of your site (if in the future). "OS Template" choose "Ubuntu 14.04 64bit" or any of Ubuntu, Debian, CentOS:

The operating system can then be changed if suddenly something does not work out.

After payment, the login data for the control panel and the Root password for setting up the server are sent to the mail. And also the IP address of the server, and it will be your IP address when we bring up the VPN and connect to it from the computer

Press the "Manage" button and get into the administration window:

We don't need to touch anything here. The only thing that may be needed is the reinstallation of the operating system - the "Reinstall" button, more on that later.

Now we need to connect to the server to send commands to it. For this we will use free program Putty.

Unpack the archive with the program and run the file putty.org.ru \ PuTTY PORTABLE \ PuTTY_portable.exe

In the "Hostname" field, paste the IP address of the server that came in the letter, you can also copy it from the control panel:

and click "Connect". If such a window has popped up, then click "Yes":

A black console window (command line) should appear in front of us. This is where we will give commands. But first you need to login. To do this, in the "login" field, enter "root"

Then copy the root password from the letter and paste it into the “password” field. To paste from the clipboard here, you just need to right-click once on the console window. In this case, the password is not printed on the screen, it feels like nothing happened. Everything is fine, we press "Enter". Lines with information about the system should slip through. If it wrote some kind of error, then check everything again. Also, the console won't wait long while you search for the root password. If an error pops up by that time, then start Putty again.

Installing and running the main script

We are already at the finish line in setting up our own VPN server. There are many instructions on the Internet on how to install a server, but they all require the knowledge of a system administrator, because small nuances are overlooked. To the delight of all dummies, there is a universal script "OpenVPN road warrior" that will do all the work itself. We only need to give the command to download and run it.

So, copy this line and paste it into the console window with the right button and press "Enter": wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh

All sorts of lines will skip and, if the script has been successfully downloaded and launched, a dialogue of the VPN server setup wizard will start with us:

The script finds the expected value for each parameter and offers to agree with it, i.e. press "Enter", or enter your own value.

  1. The first parameter is "IP address"... The script should offer the same IP VPS server. It should be so in 99.9% of cases, but if for some reason this is not so, then correct it to the correct address.
  2. The second is the protocol UDP or TCP... Leave the default UDP.
  3. Move on, "Port: 1194"- we agree.
  4. "What DNS do you want to use with the VPN?"- choose "Google", ie drive in the number "2" instead of one, Enter. If Google is blocked, then we leave it by default.
  5. "Client name"- Username. You can create access for different users. The default is "client" - we agree.
  6. "Press any key ..."- press "Enter" and wait a few minutes until everything is installed and configured.

In general, the creation of a VPN server is over, it's time to reap the benefits. During the installation process, the script created a configuration file for our computer. For us to use the server, this file needs to be downloaded. To do this, insert into command line: cat ~ / client.ovpn

The contents of the "client.ovpn" file will be displayed. Now it must be carefully copied to the clipboard. Scroll up to enter the command, select with the mouse all the lines, except for the very last one (for new commands), i.e. the last selected line will be “ ”. To copy the selection to the clipboard, press "Ctrl-V".

Now on a computer in Windows 7/8/10, open Notepad and paste the copied text into it. We save the file on the desktop under the name "client.ovpn".

If you plan to give access to the server to other people, then it is better to create for them separate files, for example vasya.ovpn. To do this, simply run the script again and now select the 1st item - creating a new user.

Client installation for Windows 7/8/10 / XP and Android

Congratulations, we are at the finish line! Now all that remains is to install a free program that will connect to our VPN server. It is called "OpenVPN".

Download the Windows version and install it, no need to launch it.

If during the installation process all sorts of windows pop up, we agree with everything.

To connect to the server, right-click on the "client.ovpn" file on the desktop and select "Start OpenVPN on this config file":

A black window will appear with the connection initialization process. If everything went well, then the last line should be like:

A window may also appear with a question about the type of a new network, then select "Public network".

You can check, go to the site 2ip.ru and look at your IP, it must match the IP of the VPS server:

The server console window can now be safely closed. And to close the VPN connection and return the old IP, you need to close the window from OpenVPN.

To connect next time, you just need to right-click the "client.ovpn" file from your desktop, you don't need to do anything else.

With phone it's even easier, you need to install the OpenVPN application through the playmarket, upload the client.ovpn file to memory, select it in the application and connect to our vpn server.

What if something went wrong

If you feel that because of your mistake everything is now going awry, then you can reinstall operating system on the hosting. To do this, in the control panel, click "Reinstall" (see the screenshot of the panel) and select a new operating system (or the same):

We press the "Reinstall" button and wait 10 minutes. A new Root password will also be issued, do not lose it!

Connection errors

Most of the problems arise at the stage of connecting to the server in the OpenVPN program, especially in Windows 8/10. There may be errors in the black window, for example:

  • FlushIpNetTable failed on interface
  • All TAP-Win32 adapters on this system are currently in use
  • CreateFile failed on TAP device
  • DNS failed ..

In this case, the first thing to do is to give the program administrator rights and, accordingly, enter the system with administrator rights. Go to "C: \ Program Files \ OpenVPN \ bin \", right-click on the openvpn.exe file -> properties. On the "Compatibility" tab, check the "Run this program as administrator" checkbox. Everything should work now.

More treatment options:

  • uninstall the program and reinstall as admin
  • disable the "Routing and Remote Access" service via "Control Panel -> Administrative Tools -> Services"
  • try reinstalling from or from here
  • remove all VPN programs and pribluda from other paid and free services

You can understand whether the problem is in your computer or laptop by installing the OpenVPN application on your phone or tablet through the playmarket, uploading the client.ovpn file to it and connecting to our vpn server. If this does not work out, then you need to look for the reason on the server, write to the support service.

If everything works, the sites are blunt and open intermittently

Pay attention to the messages in the black window, if there are duplicate lines "read from TUN / TAP ... (code = 234)"

and also to the message somewhere in the middle "WARNING:‘ tun-mtu ’is used inconsistently, local ...":

In this case, open the client.ovpn file in notepad and write in the new very first line:

tun-mtu 'server value'

server value Is the number indicated at the end of the line in the text “remote =’ tun-mtu 1500 ′ ”. We substitute our value! As a result, it should look like this:

This is done because, for some reason, the MTU values ​​on the computer and on the VPS server are different. Leave the .ovpn file for the smartphone intact!

We let traffic through a proxy without any settings at all

You can use our VPS / VDS server as a Proxy Server. To do this, we do everything as before until the moment of pressing the "Connect" button in the Putty program. No need to open a console and run a script. Go to the tab "SSH-> Tunnel", register Source Port: 3128

Oops, I finished the article later, here I have Putty in English, but the essence is the same.

If it writes the error "You need to specify a destination address in the form host.name:port", then switch to "Dynamic" instead of "Local".

On the "Connection" tab, in the "Seconds between keepalives ..." field, set 100 seconds, this is necessary so that the connection does not break due to idle time. Now we connect - press "Open", enter the username / password. Next, go to the network settings in the browser and register the proxy server there. In chrome it is “Settings-> Search for settings-> write‘ proxy ’-> Proxy server settings”. We do everything as in the screenshot:

Now all sites will work through our server, but only in the browser and some programs. Other programs will not see the proxy, they will work directly. It is necessary in each program in the connection settings, if they are provided, to register the address, port and proxy type: Socks4 / 5. Or install OpenVPN and don't use a proxy.

How to let only individual sites through the proxy

Install the extension for Google chrome or Mozilla Firefox is called. In the settings, you need to add our proxy server:

On the "URL Patterns" tab, add site masks that should be opened through our server. The site mask is his name with asterisks on the sides.

That's it, now the added site will go through the proxy, and all the rest will go directly. If you click on the extension icon, then you can choose to let all sites through it or none at all.

Shortcut for automatic connection

You can connect Putty to a proxy with one click. To do this, before connecting, in the "Connection-> Data" section, register the server login, the one that is usually root

Now you need to create a shortcut on the desktop, in which you specify the following parameters:

"C: \ Program Files \ PuTTY \ putty.exe" -load myvpn -pw server_password

where myvpn Is the name of the saved session. That's it, there is only one detail left - to remove the Putty window from the taskbar to the system tray. You need to download the modification of the utility and replace the exe file. Now in the settings on the tab Behavior a corresponding checkmark will appear, but you do not need to do this.