Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 May 2001 16:44:41 -0400
From:      "Gerald T. Freymann" <freymann@eagle.ca>
To:        "Brent" <brentb@loa.com>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: ipfw and redirecting port 80 to internal webserver help ?
Message-ID:  <022c01c0d992$09813850$0f01a8c0@phantom>
References:  <005a01c0d990$2d020900$3ab4a8c0@kronos>

next in thread | previous in thread | raw e-mail | index | archive | help
> i also have a internal machine ( Win2k ) thats serving IIS w/
> cold-fusion...a webserver...i want people on the internet to see this
> webserver even though its behind NAT

 This is a function of NAT...

 edit /etc/natd.conf
add "redirect_port tcp 192.168.0.10:80 80"

where 192.168.0.10 is the ip # of your Win2k machine.

You'll likely have to open up something in your ipfw rules as well.

${fwcmd} add pass log tcp from any to any 80 in via ${oif} setup

where the ${oif} is the name of your outside inteface NIC card.

 Works for me!

-gf



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?022c01c0d992$09813850$0f01a8c0>