Date: Thu, 8 Jun 2006 17:45:40 +1000 From: Nick Withers <nick@nickwithers.com> To: "mufalani" <mufalani@oi.com.br> Cc: freebsd-ipfw@freebsd.org Subject: Re: ipfw + nat Message-ID: <20060608174540.f9f84d62.nick@nickwithers.com> In-Reply-To: <004101c68a88$7ecd58d0$0101a8c0@cristian2aebca> References: <004101c68a88$7ecd58d0$0101a8c0@cristian2aebca>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 7 Jun 2006 20:17:07 -0300 "mufalani" <mufalani@oi.com.br> wrote: > Hi all, > > I have a webserver runing apache 2.3 under windows 2003, and one BSD 5.4 (gateway). > > How to redirect requisitions at 80īs port (200.X.X.X:80) to address (192.x.x.x:80) with nat and ipfw? Assuming you're running both already, simply adding the following line (with the appropriate IP addresses, of course) to your natd configuration should do the trick: redirect_port tcp 192.x.x.x:80 200.X.X.X:80 Otherwise, I'd recommend reading the FreeBSD Handbook sections on this (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipfw.html and http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-natd.html, for instance). > Att, > Rodrigo Mufalani > > _______________________________________________ > freebsd-ipfw@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw > To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org" This probably belongs on freebsd-questions, by the way... -- Nick Withers email: nick@nickwithers.com Web: http://www.nickwithers.com Mobile: +61 414 397 446
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060608174540.f9f84d62.nick>
