From owner-freebsd-questions Wed Sep 18 08:41:47 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA17375 for questions-outgoing; Wed, 18 Sep 1996 08:41:47 -0700 (PDT) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id IAA17306 for ; Wed, 18 Sep 1996 08:41:38 -0700 (PDT) Received: (from nadav@localhost) by gatekeeper.barcode.co.il (8.7.5/8.6.12) id RAA04028; Wed, 18 Sep 1996 17:39:46 +0200 (IST) Date: Wed, 18 Sep 1996 17:39:46 +0200 (IST) From: Nadav Eiron To: Darek Misiak cc: questions@freebsd.org Subject: Re: aliases in private network In-Reply-To: <324007CC.7560@szc.ternet.pl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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