From owner-freebsd-questions Thu May 10 13:44:42 2001 Delivered-To: freebsd-questions@freebsd.org Received: from marlo.eagle.ca (marlo.eagle.ca [209.167.16.10]) by hub.freebsd.org (Postfix) with ESMTP id 613A937B424 for ; Thu, 10 May 2001 13:44:39 -0700 (PDT) (envelope-from freymann@eagle.ca) Received: from phantom (staff.eagle.ca [209.167.16.15]) by marlo.eagle.ca (8.11.0/8.11.0) with SMTP id f4AKfYJ05765; Thu, 10 May 2001 16:41:34 -0400 (EDT) (envelope-from freymann@eagle.ca) Message-ID: <022c01c0d992$09813850$0f01a8c0@phantom> Reply-To: "Gerald T. Freymann" From: "Gerald T. Freymann" To: "Brent" Cc: References: <005a01c0d990$2d020900$3ab4a8c0@kronos> Subject: Re: ipfw and redirecting port 80 to internal webserver help ? Date: Thu, 10 May 2001 16:44:41 -0400 Organization: eagle.ca MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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