ipfw + nat

Chuck Swiger cswiger at mac.com
Wed Jun 7 23:16:52 PDT 2006


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


More information about the freebsd-ipfw mailing list