From owner-freebsd-questions Wed Oct 4 20: 1:38 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-149-77.mmcable.com [24.27.149.77]) by hub.freebsd.org (Postfix) with SMTP id ABAD737B66C for ; Wed, 4 Oct 2000 20:01:33 -0700 (PDT) Received: (qmail 26018 invoked by uid 100); 5 Oct 2000 03:01:32 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14811.61196.443715.681948@guru.mired.org> Date: Wed, 4 Oct 2000 22:01:32 -0500 (CDT) To: "Unice, Kyle" Cc: questions@freebsd.org Subject: Re: Looking for someone In-Reply-To: <15644183@toto.iv> X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Unice, Kyle writes: > who has set up a private network using: natd, ipfw, named, sendmail, & ftp. I have, more than once, These days I recommend qmail instead of sendmail, though. Postfix might be nice, but I like maildirs. > 1 dedicated connection to the Internet with a single IP address. > An internal network that is connected to several machines. > > I want to run mail for several different domains, FTP service for several > domains, httpd, and be the primary DNS server for my given domains. > I know how to do httpd, but sendmail, ftp, named, and ipfw are giving me > grief. > > I would guess someone has done this before..... right? Um - just curious - you're going to all these services for multiple domains with a *single* IP address? Doing that for sendmail and named is dead easy. In theory, http is easy, but I have no idea how common the HTTP hooks to make that work are, and I wouldn't do it myself. I don't know if FTP can do that; everyone I know who's doing multi-domain FTP is also doing multi-domain http (on distinct IP addresses), and just using the same IP address for both ftp and http. Ipfw isn't really related to the above problem, but is straightforward to set up. The Chapman and Zwicky book referenced in /etc/rc.firewalls and the man page for ipfw should do it.