From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 21:41:14 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 568C11065670 for ; Tue, 17 Nov 2009 21:41:14 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from viefep13-int.chello.at (viefep13-int.chello.at [62.179.121.33]) by mx1.freebsd.org (Postfix) with ESMTP id 9583A8FC12 for ; Tue, 17 Nov 2009 21:41:13 +0000 (UTC) Received: from edge01.upc.biz ([192.168.13.236]) by viefep13-int.chello.at (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20091117214111.WZKT16274.viefep13-int.chello.at@edge01.upc.biz> for ; Tue, 17 Nov 2009 22:41:11 +0100 Received: from [192.168.0.102] ([89.134.235.155]) by edge01.upc.biz with edge id 6MhA1d06Z3MqfxD01MhBZb; Tue, 17 Nov 2009 22:41:11 +0100 X-SourceIP: 89.134.235.155 Message-ID: <4B02E742.4010705@shopzeus.com> Date: Tue, 17 Nov 2009 22:41:14 +0430 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: questions@freebsd.org References: <4B02A81F.1030101@shopzeus.com> <44tyws3n28.fsf@be-well.ilk.org> In-Reply-To: <44tyws3n28.fsf@be-well.ilk.org> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: jail - beginner questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 21:41:14 -0000 > No, I think you added the '/' before 'etc', which isn't in the web page. > Gotcha. > > Is the problem perhaps in your /etc/rc.d/vm1 script? > Normally you would use /etc/rc.d/jail. > Yes, I'm. Sorry - it was a typo. I used this: /etc/rc.d/jail start vm1 > Are those addresses already assigned on the host? > Was the jail perhaps already running? > My computer is a windows machine, with address 192.168.0.X Then the FreeBSD host is actually a guest os running in wvmare. It has address 192.168.37.133 And finally, the vm1 jail should have 192.168.0.11 I don't know why 192.168.0.11 is not working for the jail. Anyway, if I change the jail's address to 192.168.10.11 then /etc/rc.d/jail start vm1 Starting jails: vm1.localdomain. Now the next question: how can I access the hosted (jailed) OS? I know it is a dumb question, but I have no idea. I would like to: a.) run sshd in the jail b.) login from the host to the jailed (hosted) OS c.) install programs on the jail, configure them and finally d.) use NATD to divert some pacakges from the host to the jail and back Probably this is what everybody does, so if you could point me to a tutorial or something, I would appriciate it. Thanks, Laszlo