Date: Thu, 28 Feb 2002 18:20:03 -0600 (CST) From: Nick Rogness <nick@rogness.net> To: Ronnie Clark <ronj_clark@yahoo.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: 4.5 and IPFW Rule question Message-ID: <Pine.BSF.4.21.0202281816290.88793-100000@cody.jharris.com> In-Reply-To: <20020228195106.66615.qmail@web10002.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 28 Feb 2002, Ronnie Clark wrote: > Consider the following: > > internet => FreeBSD 4.5 IPFW => webserver > > How do I create an IPFW rule to allow this to happen? > I am using NAT. Does it look like this: > add pass divert any to a.b.c.d 443 w.x.y.z 443 log via The redirect would be done it NAT, not ipfw. ipfw is just the trigger. So you would have: add allow divert natd ip from any to any via $nat_interface In natd is where you would add: -redirect_port tcp a.b.c.d 443 w.x.y.z 443 See the natd(8) man page for more details. > Nick Rogness <nick@rogness.net> - Don't mind me...I'm just sniffing your packets 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.0202281816290.88793-100000>