wiki:TAP

By default OnionCat uses a TUN interface which is a layer 3 device. If OnionCat is started with option -p it alternatively uses a TAP device which is a layer 2 device, i.e. it's a virtual ethernet interface. The big advantage of using an ethernet is that it can be bridged to other ethernets. The application for this is to set up a virtual machine within e.g. VirtualBox? or VMware and then bridge their ethernets together with the OnionCat TAP device. This opens the possibility to perfectly encapsulate a system (the virtual machine) within the OnionCat network.

For that purpose OnionCat does not assign the IPv6 address to the TAP device. This IPv6 address should be assigned to the ethernet within the virtual machine. It's also possible to use more IPv6 addresses for bridging serveral virtual machines, simply by configuring several hidden services with the same local and virtual port numbers (remember that each hidden services is associated with a single IPv6 address). OnionCat will accept all connections.

Last modified 12 years ago Last modified on Jan 7, 2009, 12:26:29 PM