Date: Sat, 20 Nov 2004 23:51:39 -0500 From: "Matt Emmerton" <matt@gsicomp.on.ca> To: <freebsd-questions@freebsd.org> Subject: Re: Natd manpage interpretation problem . . . Message-ID: <001501c4cf85$ca4f2140$1200a8c0@gsicomp.on.ca> References: <20041121035057.GA56121@keyslapper.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> I know similar questions have been asked in the past, and I'm sure the > natd manpage has it described quite clearly, but I just can't seem to > figure this out. > > I'm trying to automagically route all udp ports above 1023 coming from > a network block to a machine on the internal network. > > My understanding of the natd manpage is that I simply need to put a > line like this in /etc/natd.conf: > > redirect_port udp <internalIP>:1024-65535 <remoteIP>/xx:1024-65535 > > What am I doing wrong here? Based on my reading of the natd man pages, all of the redirect_xxx options only work on single IPs -- not netblocks. If you want to redirect traffic for a specific netblock, you need to have a rule for every IP in the block. -- Matt Emmerton
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001501c4cf85$ca4f2140$1200a8c0>