Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Sep 1996 17:39:46 +0200 (IST)
From:      Nadav Eiron <nadav@barcode.co.il>
To:        Darek Misiak <damis@szc.ternet.pl>
Cc:        questions@freebsd.org
Subject:   Re: aliases in private network
Message-ID:  <Pine.BSF.3.91.960918172756.3902A-100000@gatekeeper.barcode.co.il>
In-Reply-To: <324007CC.7560@szc.ternet.pl>

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


On Wed, 18 Sep 1996, Darek Misiak wrote:

> Hello !
> 
>  This is my last day's problem. We have got private network with numbers
> 172....... In this network my boss wants to have two computers based on 
> MacOS that have to work as WWW and FTP serwers. So they have to be
> visible on Internet. 
>  What should I do to make it possible ?
>  I tried NAT (IP filtering) - but unfortunately my Free 2.2 couldn't
> compile sources.
>  Then I tried to make aliases on LAN interface, and also it couldn't
> work.
I'm not quite following you, I'm afraid, but I'll try...
I understand that your setup is something like this:
               +---------+               +---------+
 Internet Feed | FreeBSD |  172.16.x.x   | MacOS   |
---------------+         +---------------+         |
               |         |               |         |
               +---------+               +---------+

And you want the Mac to give its services (www & ftp) to the outside on a 
knwon address. This means, of course, that you have to have a formal 
address that will be used to access those servers.
The simplest thing would then be to run a proxy on the FreeBSD machine 
configured to pass all requests to the MacOS servers, and using the 
"official" address for the FreeBSD machine as the "well known" address 
for your server. There are many www proxies aroung, and the TIS fwtk has 
a ftp proxy. If your setup requires an IP alias on the FreeBSD machine, 
the following works for both 2.1.0 and 2.1.5:
ifconfig de1 inet 192.116.93.18 netmask 255.255.255.255 alias

> 
> In coming days I'm going to put another Ethernet card and make two
> interfaces. Is it proper way ?
> 
> Best regards
> Darek
> 
Hope this helps,
Nadav



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