Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2001 22:13:39 +0200 (SAST)
From:      "Andre' van Schalkwyk" <andrevs@femail.ddsecurity.co.za>
To:        freebsd-questions@freebsd.org
Subject:   ipfw question
Message-ID:  <Pine.LNX.4.10.10101232159210.25359-100000@femail.ddsecurity.co.za>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.10101232159210.25359-100000>