From owner-freebsd-questions Tue Feb 19 16:33:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id A958E37B405 for ; Tue, 19 Feb 2002 16:33:22 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020220003322.PDDY2626.rwcrmhc51.attbi.com@blossom.cjclark.org>; Wed, 20 Feb 2002 00:33:22 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g1K0XLR22213; Tue, 19 Feb 2002 16:33:21 -0800 (PST) (envelope-from cjc) Date: Tue, 19 Feb 2002 16:33:21 -0800 From: "Crist J. Clark" To: Matt Lazarou Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Regarding NATD for FreeBSD 4.5-stable Message-ID: <20020219163321.I48401@blossom.cjclark.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from optical_longhaul@hotmail.com on Tue, Feb 19, 2002 at 10:02:26PM +0000 X-URL: http://people.freebsd.org/~cjc/ 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 On Tue, Feb 19, 2002 at 10:02:26PM +0000, Matt Lazarou wrote: > Hi, > > I was wondering if someone could help me redirect incoming traffic to a > public server using the natd. When i tryed: > > natd -n txp0 -redirect_port tcp x.x.x.x:8888,x.x.x.x:8888 > I got the message: > natd: redirect_port: missing public port No comma, the separator is a space. > So i then tryed to specify a public port and i then got this message: > > natd -n txp0 -redirect_port tcp x.x.x.x:8888,x.x.x.x:8888 8888 > natd: Unable to bind divert socket.: Address already in use Even though you got the error message above, natd(8) did start and was bound to the divert socket. When you tried again, the second incarnation of natd(8) failed bcause the other was running. Kill the running natd(8) first, then try a new one with correct syntax. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message