{"repo":"ntop/n2n","free":true,"listed":false,"github":"https://github.com/ntop/n2n","clone":"git clone https://github.com/ntop/n2n.git","description":"Peer-to-peer VPN","language":"C","stars":6998,"topics":["peer-to-peer","vpn"],"license":"GPL-3.0","category":"networking-infra","readme_excerpt":"n2n n2n is a light VPN software which makes it easy to create virtual networks bypassing intermediate firewalls. In order to start using n2n, two elements are required: - A supernode : it allows edge nodes to announce and discover other nodes. It must have a port publicly accessible on internet. - edge nodes: the nodes which will be a part of the virtual networks A virtual network shared between multiple edge nodes in n2n is called a community . A single supernode can relay multiple communities and a single computer can be part of multiple communities at the same time. An encryption key can be used by the edge nodes to encrypt the packets within their community. n2n tries to establish a direct peer-to-peer connection via udp between the edge nodes when possible. When this is not possible (usually due to special NAT devices), the supernode is also used to relay the packets. Quick Setup Some Linux distributions already provide n2n as a package so a simple sudo apt install n2n will do the work. Alternatively, up-to-date packages for most distributions are available on ntop repositories. On host1 run: On host2 run: Now the two hosts can ping each other. 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. For the privacy of your data sent and to reduce the server load of supernode.ntop.org , it is also suggested to set up a custom supernode as explained below.","default_branch":null,"files":null,"tree":[],"storefront":"/r/ntop","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ntop/n2n/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}