Date: Mon, 25 Jun 2001 14:52:46 -0500 (CDT) From: Nick Rogness <nick@rogness.net> To: Tim Erlin <tperlin@yahoo.com> Cc: questions@FreeBSD.ORG Subject: Re: ipfw -- fwd, divert, natd -redirect_port? Message-ID: <Pine.BSF.4.21.0106251446260.42332-100000@cody.jharris.com> In-Reply-To: <20010625165405.93596.qmail@web11703.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 25 Jun 2001, Tim Erlin wrote: > I currently have 4.3-STABLE running NAT on my DSL(static ip). I'd like > to put a webserver (or any other service) behind it and map the > incoming port appropriately. I see three choices with ipfw and I'm not > sure what the differences are. > Well, there's only 2 natd and divert are the same. Besides, you need to use nat for this. > How does fwd differ from divert differ from running natd with > -redirect_port? natd must be run in conjunction with divert (That is how the natd daemon receives packets from the kernel). Like so: ipfw divert natd ip from any to any via xl0 fwd is an ipfw firewall rule extention, like so: ipfw fwd 10.0.0.1 ip from any to any out via xl0 Nick Rogness <nick@rogness.net> - Keep on Routing in a Free World... "FreeBSD: The Power to Serve!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0106251446260.42332-100000>