the question reduces to how could i establish a bidirectional
pipe across ssh channel - that means how can I simultaneously
read from and write data to the device...

                          ->     
      host1:/dev/tap0     <-     host2:/dev/tap0

any data from host1:/dev/tap0 write to host2:/dev/tap0 and
simultaneously data  from host2:/dev/tap0 write to
host1:/dev/tap0, best at one ssh connection.

I used cat, because it's simple and it worked partially
(unidirectionally) and it wasn't possible to establish cat to the
other direction.

The hosts are connected with well-working network and well
working ssh, this is intended for Virtual Protected Network.

For more info on ethertap read
Documentation/networking/ethertap.txt in the Linux source tree.

m.

Reply via email to