Subject: Re: Tunnel
To: Jean-Edouard BABIN <listes@Jeb.com.fr>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-i386
Date: 09/12/2001 22:16:40
On Wed, Sep 12, 2001 at 06:52:43PM +0200, Jean-Edouard BABIN wrote:
> hello,
> 
> i want to do a tunnel from 222.222.222.222 to 111.111.111.111 (example)
> i don't need IPsec, in 222.222.222.222 i have a 192.168.0.x lan and in
> 111.111.111.111 a 192.168.1.x lan
> i juste want to be able to ssh 192.168.1.x from 192.168.0.x
> i have tryed tun0, but that not work
> can you help me ?

You don't want tun for this, unless you use a special program to carry packets
from one machine to another (via /dev/tun0). I've done this but it was for a
special case.

For you case you should be able to use gif interfaces.
Note that you'll need to extra IPs for the gif interfaces.

--
Manuel Bouyer <bouyer@antioche.eu.org>
--