Natd manpage interpretation problem . . .
Matt Emmerton
matt at gsicomp.on.ca
Sat Nov 20 20:54:18 PST 2004
> 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
More information about the freebsd-questions
mailing list