


Then, from each standard node we are going to connect to the network in the following way (we give 2 examples, for 2 different nodes): Now we configure the P2P network with n2n, and for this we must first distinguish between super nodes and standard nodes: a super node is one that offers a public IP address, that is, it will be fixed and known by those who configure the network, while a standard node is anyone who that dynamically connects to it.Įach P2P VPN needs at least one super node, which is 10.0.0.1 for the example that we are going to show here, and on that computer we are going to execute the following, to indicate on which port this P2P VPN is going to work: $ sudo apt-get install subversion build-essential libssl-dev Let's see then, how to install n2n on Ubuntu: It is a free alternative available under the GPLv3 license, which allows us to build an encrypted peer-to-peer VPN network and 'NAT friendly'In other words, if two users that are part of this network are connected from different routers, communication can be carried out through the VPN without any problem. In the Linux world, as you might expect, we have several P2P VPN options, and one of them is n2n. So that, any node that becomes part of a VPN can act as client and server, helping to distribute traffic to and from any of the other clients. To remedy this is that a very interesting variant has emerged and is that of Peer-to-peer VPN or P2P VPN, a model that is based on P2P technology to improve what is offered by traditional VPNs by decentralize all traffic that passes through them, which is no longer managed by a single server but is distributed through all the clients that connect to it. For example, centralizing all traffic on the VPN server requires too much work on the part of the VPN server for two VPN clients to communicate with each other, which over time can become the server's bottleneck and limit the performance of the VPN in general.

Technology VPN has been used for quite some time in the corporate environment for remote connectivity, and although it is a very useful solution, it has some problems that have been increasingly exposed over time.
