Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Jun 2006 23:43:33 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        mufalani <mufalani@oi.com.br>
Cc:        freebsd-ipfw@freebsd.org
Subject:   Re: ipfw + nat
Message-ID:  <44879CE5.1000201@mac.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
mufalani 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?

echo "redirect_port tcp 192.x.x.x:80 80" >> /etc/natd.conf

See "man natd" for details and variants like redirect_address.

-- 
-Chuck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44879CE5.1000201>