From owner-freebsd-questions Sat Nov 21 07:00:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA16785 for freebsd-questions-outgoing; Sat, 21 Nov 1998 07:00:29 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA16778 for ; Sat, 21 Nov 1998 07:00:26 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (woof.lan.Awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id OAA22207; Sat, 21 Nov 1998 14:59:27 GMT (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id OAA01881; Sat, 21 Nov 1998 14:41:59 GMT (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199811211441.OAA01881@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Jerry cc: freebsd-questions@FreeBSD.ORG Subject: Re: natd -redirect_port In-reply-to: Your message of "Fri, 20 Nov 1998 11:05:20 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 21 Nov 1998 14:41:59 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >From what I've read and understand from the man natd pages the following > command would redirect port 21 on the machine I'm running it (10.1.1.2) to > port 21 on 10.1.1.2 . Its obviously not correct cause it doesn't work ;) > Anyone have any experience with this? > > # natd -redirect_port tcp 10.1.1.2:21 21 > natd: aliasing address not given >From the man page: -a | -alias_address address Use address as the alias address. If this option is not specified, the -n or -interface option must be used. The Add the -a or -n switches, and put the ``tcp 10.1.1.2:21 21'' in quotes so that natd gets it as one arg. -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message