Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Nov 1998 14:41:59 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        Jerry <jerryr@ComCAT.COM>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: natd -redirect_port 
Message-ID:  <199811211441.OAA01881@woof.lan.awfulhak.org>
In-Reply-To: Your message of "Fri, 20 Nov 1998 11:05:20 EST." <Pine.GSO.4.02A.9811201100410.25356-100000@uw> 

next in thread | previous in thread | raw e-mail | index | archive | help
> >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 <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811211441.OAA01881>