From owner-freebsd-questions@FreeBSD.ORG Mon Apr 7 15:55:47 2003 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 640A237B401 for ; Mon, 7 Apr 2003 15:55:47 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.de [213.165.65.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 27BCE43FB1 for ; Mon, 7 Apr 2003 15:55:44 -0700 (PDT) (envelope-from mfromwald@gmx.at) Received: (qmail 12763 invoked by uid 65534); 7 Apr 2003 22:55:42 -0000 Received: from chello062178160230.10.14.vie.surfer.at (EHLO foo) (62.178.160.230) by mail.gmx.net (mp002-rz3) with SMTP; 08 Apr 2003 00:55:42 +0200 From: "Moritz Fromwald" To: Daniel Bye , freebsd-questions@freebsd.org Date: Tue, 08 Apr 2003 00:55:17 +0200 MIME-Version: 1.0 Message-ID: <3E921DF5.20447.E7E8E@localhost> Priority: normal In-reply-to: <20030407214410.GA79024@catflap.home.slightlystrange.org> References: <3E91C663.24042.B08168@localhost> X-mailer: Pegasus Mail for Windows (v4.02a, DE v4.02 R1) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: Re: natd redirect X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: mfromwald@gmx.at List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Apr 2003 22:55:47 -0000 > On Mon, Apr 07, 2003 at 06:41:39PM +0200, Moritz Fromwald wrote: > > Hello > > How is the syntax for natd to redirect udp as well > > as tcp? > > I'd like to forward tcp 4662, 4711 and udp 4662. > > Is it possible to change thees ports, without > > stopping natd? > > You will need to add a separate rule to handle the udp redirection, I > believe, if you only want to redirect one port (or indeed, just a subset of > all ports). If you want to redirect _all_ ports to a different address, use > the -redirect_proto or -redirect_address options. > > I don't think it's possible to alter the rules without restarting the > daemon, so you will have to stop it, rework your arguments and start again. > I could be wrong, though. > > HTH, > > Dan > > -- > Daniel Bye >snip The question was how to setup this extra rule, I found out, that you can specify them by adding the - redirect_port option twice. Thx a lot! regards Moritz Fromwald