From owner-freebsd-questions Wed Dec 4 8: 8:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30AED37B401 for ; Wed, 4 Dec 2002 08:08:22 -0800 (PST) Received: from gs166.sp.cs.cmu.edu (GS166.SP.CS.CMU.EDU [128.2.205.169]) by mx1.FreeBSD.org (Postfix) with SMTP id A481143E88 for ; Wed, 4 Dec 2002 08:08:21 -0800 (PST) (envelope-from dpelleg@gs166.sp.cs.cmu.edu) To: Jeff MacDonald Cc: freebsd-questions@FreeBSD.ORG MMDF-Warning: Parse error in original version of preceding line at gs166.sp.cs.cmu.edu Subject: Re: Another Jail Question References: From: Dan Pelleg Date: 04 Dec 2002 11:07:45 -0500 In-Reply-To: Message-ID: Lines: 24 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Jeff MacDonald" writes: > Hi, > > I have been thinking about running 2 jails on my home server > one for "work sensitive" data, the other for personal fun stuff. > > However i only have 1 ip at my house [static]. > > Could i take the server taht will have jails on it, put it behind > a natd box so it has 2 ip's [192.168.0.1 and .2] and just make > the nat box, forward packets to teh appropriate jail based upon > what port they come in on ? > Yes, and you don't even need a separate box to do NAT - the jail host can do it by itself. Here's a how-to for a jailed FTP process configured like this: http://ezine.daemonnews.org/200212/ftpjail.html -- Dan Pelleg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message