From owner-freebsd-questions Fri Mar 14 5:15:27 2003 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 8137437B404 for ; Fri, 14 Mar 2003 05:15:26 -0800 (PST) Received: from pa-plum1b-166.pit.adelphia.net (pa-plum1b-13.pit.adelphia.net [24.53.161.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3142343F85 for ; Fri, 14 Mar 2003 05:15:25 -0800 (PST) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (working [172.16.0.95]) by pa-plum1b-166.pit.adelphia.net (8.12.7/8.12.7) with ESMTP id h2EDFDTb008674; Fri, 14 Mar 2003 08:15:24 -0500 (EST) (envelope-from wmoran@potentialtech.com) Message-ID: <3E71D5A7.6010607@potentialtech.com> Date: Fri, 14 Mar 2003 08:14:15 -0500 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030301 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dan@slightlystrange.org Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Port Forwarding FreeBSD 4.7_Release References: <20030314105512.GA92246@catflap.home.slightlystrange.org> In-Reply-To: <20030314105512.GA92246@catflap.home.slightlystrange.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Daniel Bye wrote: > On Fri, Mar 14, 2003 at 10:30:28AM +0000, Matthew Ryan wrote: > >>natd -redirect_port tcp 192.168.1.241:xxxx xxxx >> >>but here's what i get: >> >>natd: aliasing address not given > > > That's because natd can't determine which interface it should use for > aliasing. Try specifying it with the -n flag: > > # natd -n xl0 -redirect... > > Replace xl0 with whatever your external interface is. Use the natd_interface="xl0" syntax in /etc/rc.conf to add this to the startup procedure. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message