Differences between revisions 1 and 2
Revision 1 as of 2005-10-27 20:21:34
Size: 933
Editor: alpt
Comment:
Revision 2 as of 2005-11-04 18:39:54
Size: 988
Editor: alpt
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
== A <--> B tunnel ==
Line 23: Line 24:

== A <--> B <--> C tunnel ==

This page describes how to test netsukuku_d over a simple vpn.

For the test we use minchiavpn, [http://hinezumilabs.org/netsukuku/minchiavpn.tar.gz download it].

A <--> B tunnel

Be sure to have the tun module loaded:

# modprobe tun

In host A run:

./minchiavpn -p 5060 -a 10.0.0.1

where 5060 is any port you can use to accept connection from the outside.

In host B run:

./minchiavpn -t tcp-client -p IP_OF_HOST_A:5060 -a 10.0.0.4

At this point you can run in both:

netsukuku_d -dddddd -D -i tap0

A <--> B <--> C tunnel

You can also enjoy more complex case. For example:

  • A <--> B <--> C

In B:

./minchiavpn -p 5060 -a 10.0.0.1

./minchiavpn -p ANOTHERPORT -a 10.0.0.2

netsukuku_d -dddddd -D -i tap0 -i tap1

In A:

./minchiavpn -t tcp-client -p IP_OF_HOST_B:5060 -a 10.0.0.4

netsukuku_d -i tap0 -ddddd -D

In C:

./minchiavpn -t tcp-client -p IP_OF_HOST_B:ANOTHERPORT -a 10.0.0.5

netsukuku_d -i tap0 -ddddd -D

Ntk_vpn_test (last edited 2008-06-26 09:52:38 by anonymous)