From owner-freebsd-questions@FreeBSD.ORG Mon Jul 19 12:43:25 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18F3616A4CE for ; Mon, 19 Jul 2004 12:43:25 +0000 (GMT) Received: from internet.potentialtech.com (h-66-167-251-6.phlapafg.covad.net [66.167.251.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6DAA43D46 for ; Mon, 19 Jul 2004 12:43:24 +0000 (GMT) (envelope-from wmoran@potentialtech.com) Received: from working.potentialtech.com (pa-plum-cmts1e-68-68-113-64.pittpa.adelphia.net [68.68.113.64]) by internet.potentialtech.com (Postfix) with ESMTP id D422069A39; Mon, 19 Jul 2004 08:43:23 -0400 (EDT) Date: Mon, 19 Jul 2004 08:43:22 -0400 From: Bill Moran To: bkhl@elektrubadur.se (=?ISO-8859-1?Q?Bj=F6rn_Lindstr=F6m?=) Message-Id: <20040719084322.04d29496.wmoran@potentialtech.com> In-Reply-To: References: <20040718124432.56a7b923.wmoran@potentialtech.com> Organization: Potential Technologies X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable cc: freebsd-questions@freebsd.org Subject: Re: NAT trouble X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2004 12:43:25 -0000 bkhl@elektrubadur.se (Bj=F6rn Lindstr=F6m) wrote: > Bill Moran writes: >=20 > >> (Where tun0 is the interface of my ADSL connection.) > > > > Is tun0 the real interface? >=20 > No, the actual card is rl0: >=20 > rl0: flags=3D8843 mtu 1500 > inet6 fe80::2e0:4cff:feb0:5d5b%rl0 prefixlen 64 scopeid 0x1=20 > ether 00:e0:4c:b0:5d:5b > media: Ethernet autoselect (100baseTX ) > status: active > ppp0: flags=3D8010 mtu 1500 > tun0: flags=3D8051 mtu 1492 > inet 81.228.156.82 --> 81.228.156.1 netmask 0xffffffff=20 > Opened by PID 53 >=20 > Is it the actual NIC that should be put in $nat_interface? No, you should use the tun0 as you have ... I was just checking. Perhaps natd isn't starting becuase the tun0 interface does not yet exist when it tries to start? > > What happens if you start it manually? ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ? --=20 Bill Moran Potential Technologies http://www.potentialtech.com