From owner-freebsd-questions Wed Dec 4 6:47:29 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 A25D237B401 for ; Wed, 4 Dec 2002 06:47:28 -0800 (PST) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE7CE43EBE for ; Wed, 4 Dec 2002 06:47:27 -0800 (PST) (envelope-from fbsd-q@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.12.6/8.12.6) with ESMTP id gB4EmQsS023118; Wed, 4 Dec 2002 15:48:30 +0100 (CET) (envelope-from stable@ei.bzerk.org) Received: (from stable@localhost) by ei.bzerk.org (8.12.6/8.12.6/Submit) id gB4EmPbX023117; Wed, 4 Dec 2002 15:48:25 +0100 (CET) Date: Wed, 4 Dec 2002 15:48:25 +0100 From: Ruben de Groot To: Jeff MacDonald Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Another Jail Question Message-ID: <20021204144825.GA23097@ei.bzerk.org> References: <20021204142056.GA22971@ei.bzerk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i 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 On Wed, Dec 04, 2002 at 09:27:33AM -0500, Jeff MacDonald typed: > 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 ? Alternatively, you can run both jails on the same IP address. As long each jail uses different portnumbers there will be no conflicts. > > also, if i have host machine with 2 jails in it, i know i can't > run PostgreSQL in the jails, can i run it on the host environment > and make the jails access it via TCP ? > > server is a dual PII 300 with 512 megs of ram, this should be fine > to handle 2 jails, right ? > > thanks. > > jeff. > > 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