Date: Tue, 08 Apr 2003 00:55:17 +0200 From: "Moritz Fromwald" <mfromwald@gmx.at> To: Daniel Bye <dan@slightlystrange.org>, freebsd-questions@freebsd.org Subject: Re: natd redirect Message-ID: <3E921DF5.20447.E7E8E@localhost> In-Reply-To: <20030407214410.GA79024@catflap.home.slightlystrange.org> References: <3E91C663.24042.B08168@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E921DF5.20447.E7E8E>