make the README more userfriendly and relevant to ordinary users

This commit is contained in:
Rolf Leggewie 2014-10-26 02:16:36 +09:00
parent 4f876e28f0
commit d5e5718199

46
debian/README.Debian vendored
View file

@ -1,37 +1,25 @@
n2n for Debian
--------------
This package depends on the kernel having the TUN/TAP driver configured in using
CONFIG_TUN=yes.
Quickstart
QUICKSTART
----------
* 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:
To establish a VPN you need to run the edge binary on all the client computers
you want to participate. n2n has another binary called supernode which enables
the clients to talk to each other. Even a comprised supernode cannot sniff the
traffic or the passwords for clients that are connected to it so most users
will not need to bother with running their but can simply rely on publically
available supernodes.
o #supernode > supernode -l xyw
o #edge node1> edge -a 10.1.2.1 -c mynetwork -k encryptme -l a.b.c.d:xyw
o #edge node2> edge -a 10.1.2.2 -c mynetwork -k encryptme -l a.b.c.d:xyw
public n2n supernodes:
- remoteqth.com:82
HINT: vpnhosting.cz provides a public n2n supernode you can use for testing.
It is available at 88.86.108.50 port 82, use "-l 88.86.108.50:82"
Now test your n2n network:
o #edge node1> ping 10.1.2.2
o #edge node2> ping 10.1.2.1
Go through the rest of the configuration file in /etc/default/n2n and run
"/etc/init.d/n2n start" as root when you are ready. Ping your local and a
remote address to test your network
For more info check http://www.ntop.org/n2n
TROUBLESHOOTING
---------------
-- cristian paul peñaranda rojas <kristian.paul@gmail.com> Sat, 29 Nov 2008 00:31:58 -0500
This package depends on the kernel having the TUN/TAP driver configured in using
CONFIG_TUN=yes. Check "grep CONFIG_TUN /boot/config-*" for the kernel you want
to run.