From owner-freebsd-questions Tue Jan 23 12:14:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gauntlet.ddsecurity.co.za (gauntlet.ddsecurity.co.za [196.23.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 716C937B402 for ; Tue, 23 Jan 2001 12:14:03 -0800 (PST) Received: by gauntlet.ddsecurity.co.za; id WAA27553; Tue, 23 Jan 2001 22:13:59 +0200 (SAT) Received: from femail.ddsecurity.co.za(196.26.3.4) by gauntlet.ddsecurity.co.za via smap (4.1) id xma027543; Tue, 23 Jan 01 22:13:39 +0200 Received: from localhost (andrevs@localhost) by ddsecurity.co.za (8.9.3/8.9.3) with ESMTP id WAA25441 for ; Tue, 23 Jan 2001 22:13:39 +0200 Date: Tue, 23 Jan 2001 22:13:39 +0200 (SAST) From: "Andre' van Schalkwyk" To: freebsd-questions@freebsd.org Subject: ipfw question Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi, i have a freebsd box that is sitting on the outside of the network. the freebsd box has two network interfaces. one interface on the internet side with a ip of 196.38.x.x and the other interface with an ip of 10.0.0.1. the freebsd box is running squid, exim and apache with ipfw enabled. all the webpages are hosted on the the fbsd box and works well as can only be expected from apache. the problem is, there is a website running on a winNT machine on LAN. the machine has an ip of 10.0.0.2. the page has to run on the winNT machine. people from the outside (internet) must be able to see this webpage. i was thinking in the lines of using ipfw to redirect all data going to 196.38.x.x :70 to 10.0.0.2:80. these are the commands i've tried useing. ipfw add 600 fwd 10.0.0.2,80 tcp from any to 196.38.x.x 70 ipfw add 600 fwd 10.0.0.2,80 tcp from any to 196.38.x.x 70 via fxp0 i've also made sure that all packets are allowed to 196.38.x.x,10.0.0.2 and 127.0.0.1 i don't know what to do any more. i have had a look at apache's reverse proxy, but that is even more confusing than ipfw :) any help would greatly be appreciated. thanks Andre' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message