[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tunneling




Trying to set up a tunnel, got a tunl0 configured on a linux box
and now trying to configure tun0 it on the obsd side. The obsd box 
IP being 1.2.3.4 (xl1), and the tunnel network being 192.168.3.0

The linux box, a.b.c.d (eth0) has tunl0 ifconfigged as:

ifconfig tunl0 a.b.c.d up
route add -net 192.168.3.0 netmask 255.255.255.0 gw 1.2.3.4 tunl0

Tried the same idea on the obsd side, but it didn't seem to fly.
The route doesn't seem to like device, so an ifconfig needs to be used,
I know we're missing something simple.

ifconfig tun0 1.2.3.4 up
route add -net 192.168.3.0 a.b.c.d 

How to tell it use tun0, tried ifconfig with a gateway
What's missing ? Do we need ipsecadm going with ip4 ?

Date: Mon, 01 Mar 1999 12:47:13 -0500
From: Sarang Joshi <sarang@anatomic.com>
To: jeff
Subject: tunneling


We are trying to set up an IPinIP tunnel between and openBSD firewall
and a Cisco Router.

We are trying to use the nos-tun command in freeBSD to do it. I was able
to compile it on the openBsd box with no problems but after following
the instructions in the man page we got nothing  and now are not sure
what to do: This our set up




|
|---
n
|
|---
e   ----|Cisco Router| ------/////////-----------|OpenBsd|---| Net 2
t
|
|
1 |

We want to build a tunnel  between net1 and net2 over the iternet. Both
the Cisco ROuter and the OpenBsd have internet connections.

Has any one done this? Can some one please provide a detailed step by
step procedure to do this. Dose any documnetation aprart from the
nos-tun exsit for
openbsd. I found a lot out there for linux but none for openBSD!!


Sarang