Differences between revisions 1 and 2
Revision 1 as of 2005-11-08 22:17:14
Size: 868
Editor: alpt
Comment:
Revision 2 as of 2005-11-14 21:24:46
Size: 1214
Editor: alpt
Comment:
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:

=== MAQUERADING ===

Each node sharing the Internet connection has to use MASQUERADE its interface, so iptables must be used.
In order to keep the daemon portable, NetsukukuD will launch the script found at /etc/netsukuku/masquerade.sh,
which in Linux will be a simple script that executes "iptables -A POSTROUTING -t nat -j MASQUERADE"

NTK_RFC 0003

Subject: Internet Gateway Search


This text describes a change to the Npv7. It will be included in the final documentation, so feel free to correct it. But if you want to change the system here described, please contact us first.


If the nodes are in restricted mode (compatibility with the Internet), they should share their Internet connection. This can be easily done, in fact, when a node X, connected to the Internet, activates the masquerading, the other nodes can also connect by setting as the default gateway the node X.

This can be automated by Netsukuku itself and it requires small changes in the code: it is just necessary that the nodes connected to the Internet set a flag in the qspn_pkt, in this way the other nodes will know the routes to reach the Internet. Simple and easy. The same holds for the gnode.

MAQUERADING

Each node sharing the Internet connection has to use MASQUERADE its interface, so iptables must be used. In order to keep the daemon portable, NetsukukuD will launch the script found at /etc/netsukuku/masquerade.sh, which in Linux will be a simple script that executes "iptables -A POSTROUTING -t nat -j MASQUERADE"

Ntk_IGS (last edited 2009-05-13 16:41:15 by anonymous)