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

For the test we use minchiavpn, 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:

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