Questions on IPFW???
cswiger at mac.com
Tue Aug 3 10:11:27 PDT 2004
Hakim Z. Singhji wrote:
> You answered my question, I wanted to know which was better to use with
> port forwarding (ipfw or natd) and based on what you wrote, natd is a
> better fit due to the fact that I would not have to force the other machine
> to accept packets redirected from the NAT box using natd. Is that
That's right. Most people want to use NAT, because it lets you set up an
internal network without having to specially configure the internal machines.
With regard to your other question, if you want an external connection to,
say, port 22 to be forwarded to port 22 on some machine on your internal
redirect_port tcp 192.0.0.5:22 22
...in /etc/natd.conf or your natd_flags in /etc/rc.conf.
More information about the freebsd-questions