[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ipfw + nat
- To: "mufalani" <mufalani_(_at_)_oi_(_dot_)_com_(_dot_)_br>
- Subject: Re: ipfw + nat
- From: Nick Withers <nick_(_at_)_nickwithers_(_dot_)_com>
- Date: Thu, 8 Jun 2006 17:45:40 +1000
- Cc: freebsd-ipfw_(_at_)_freebsd_(_dot_)_org
- Organization: nickwithers.com
On Wed, 7 Jun 2006 20:17:07 -0300
"mufalani" <mufalani_(_at_)_oi_(_dot_)_com_(_dot_)_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_(_at_)_freebsd_(_dot_)_org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
> To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe_(_at_)_freebsd_(_dot_)_org"
This probably belongs on freebsd-questions, by the way...
--
Nick Withers
email: nick_(_at_)_nickwithers_(_dot_)_com
Web: http://www.nickwithers.com
Mobile: +61 414 397 446
_______________________________________________
freebsd-ipfw_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org