The traffic exchanged between two edge nodes but it will know that edge A is talking with edge B. When payload encryption is enabled (provide a key using -k), the supernode will not be able to decrypt Feedback in the Issues section is appreciated. On the other hand, if you dare to try bleeding edge features, you are encouraged to compile from dev – just keep track of sometimes rapidly occuring changes. Please note that the current dev branch usually is not guaranteed to be backward compatible neither with the latest stable release nor with previous dev states. IMPORTANT It is generally recommended to use the latest stable release. configure make # optionally install make installįor Windows, MacOS, CMake, optimizations and general building options, please check out Building documentation for compilation and running. On Linux, compilation from source is straight forward. All the edge nodes must use the same supernode. On your edge nodes you can now specify -l your_supernode_ip:1234 to use it. Now the supernode service should be up and running on port 1234. Optionally enable supernode start on boot: sudo systemctl enable supernode.Start the supernode service with sudo systemctl start supernode.
Edit /etc/n2n/nf and add the following:.You just need to open a single port (1234 in the example below) on your firewall (usually iptables). You can create your own infrastructure by setting up a supernode on a public server (e.g. For the privacy of your data sent and to reduce the server load of, it is also suggested to set up a custom supernode as explained below. IMPORTANT It is strongly advised to choose a custom community name ( -c) and a secret encryption key ( -k) in order to prevent other users from connecting to your computer. Alternatively, up-to-date packages for most distributions are available on ntop repositories. Some Linux distributions already provide n2n as a package so a simple sudo apt install n2n will do the work. When this is not possible (usually due to special NAT devices), the supernode is also used to relay the packets. N2n tries to establish a direct peer-to-peer connection via udp between the edge nodes when possible. An encryption key can be used by the edge nodes to encrypt the packets within their community. A single supernode can relay multiple communities and a single computer can be part of multiple communities at the same time. edge nodes: the nodes which will be a part of the virtual networksĪ virtual network shared between multiple edge nodes in n2n is called a community.It must have a port publicly accessible on internet. A supernode: it allows edge nodes to announce and discover other nodes.In order to start using n2n, two elements are required: N2n is a light VPN software which makes it easy to create virtual networks bypassing intermediate firewalls.