From owner-freebsd-questions@FreeBSD.ORG Mon Apr 7 14:44:18 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 97B5937B401 for ; Mon, 7 Apr 2003 14:44:18 -0700 (PDT) Received: from catflap.home.slightlystrange.org (pc1-cmbg1-4-cust43.cmbg.cable.ntl.com [62.253.133.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8521243F85 for ; Mon, 7 Apr 2003 14:44:17 -0700 (PDT) (envelope-from dan@slightlystrange.org) Received: from danielby by catflap.home.slightlystrange.org with local (Exim 3.36 #1) id 192ePS-000KdM-00 for freebsd-questions@freebsd.org; Mon, 07 Apr 2003 22:44:10 +0100 Date: Mon, 7 Apr 2003 22:44:10 +0100 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20030407214410.GA79024@catflap.home.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <3E91C663.24042.B08168@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E91C663.24042.B08168@localhost> User-Agent: Mutt/1.4i X-Scanner: exiscan *192ePS-000KdM-00*.lCJUzRoL..* (SlightlyStrange.org, Using NOD32 http://www.nod32.com) Subject: Re: natd redirect X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: dan@slightlystrange.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Apr 2003 21:44:18 -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 PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \