Date: Tue, 03 Aug 2004 13:11:21 -0400 From: Chuck Swiger <cswiger@mac.com> To: "Hakim Z. Singhji" <hakim.singhji@earthlink.net>, freebsd Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Questions on IPFW??? Message-ID: <410FC739.8020702@mac.com> In-Reply-To: <24208963.1091552501962.JavaMail.root@waldorf.psp.pas.earthlink.net> References: <24208963.1091552501962.JavaMail.root@waldorf.psp.pas.earthlink.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 > correct??? 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 network, use: redirect_port tcp 192.0.0.5:22 22 ...in /etc/natd.conf or your natd_flags in /etc/rc.conf. -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?410FC739.8020702>