Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2003 22:44:10 +0100
From:      Daniel Bye <dan@slightlystrange.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: natd redirect
Message-ID:  <20030407214410.GA79024@catflap.home.slightlystrange.org>
In-Reply-To: <3E91C663.24042.B08168@localhost>
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

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 / \



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