A layer-two peer-to-peer (P2P) virtual private network (VPN).
The n2n architecture is based on two components:
- edge nodes: applications installed on user PCs that allow the n2n network to be build. Practically each edge node creates a tun/tap device that is then the entry point to the n2n network.
- an supernode: it is used by edge nodes at startup or for reaching nodes behind symmetrical firewalls. This application is basically a directory register and a packet router for those nodes that cannot talk directly.
- Download and compile the code
- Decide where to place your supernode. Suppose you put it on host a.b.c.d at port xyw.
- Decide what encryption password you want to use to secure your data. Suppose you use the password encryptme
- Decide the network name you want to use. Suppose you call it mynetwork. Note that you can use your supernode/edge nodes to handle multiple networks, not just one.
- Decide what IP address you plan to use on your edge nodes. Suppose you use IP address 10.1.2.0/24
- Start your applications:
#supernode > supernode -l xyw
#edge node1> edge -a 10.1.2.1 -c mynetwork -k encryptme -l a.b.c.d:xyw
#edge node2> edge -a 10.1.2.2 -c mynetwork -k encryptme -l a.b.c.d:xyw
Now test your n2n network:
#edge node1> ping 10.1.2.2
#edge node2> ping 10.1.2.1
In a hurry? Add it to your Download Basket!
What's New in This Release:
- Fixed race condition in TWOFISH causing packet loss and performance degradation. Affects WIN32 only.
- Added -s < netmask > option to edge.
- Added -M < MTU > option to edge.
- Corrected missing man page options for edge