Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2001 15:06:13 +0200
From:      "Andrey Voitenkov" <mccloud@vimas.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: ipfw question
Message-ID:  <94mk02$1oi$1@news.lucky.net>
References:  <Pine.LNX.4.10.10101232159210.25359-100000@femail.ddsecurity.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
HI, Andre'
Try to use natd daemon with -redirect_port option.

"Andre' van Schalkwyk" <andrevs@femail.ddsecurity.co.za> wrote in message
news:Pine.LNX.4.10.10101232159210.25359-100000@femail.ddsecurity.co.za...
>
> 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



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?94mk02$1oi$1>