From owner-freebsd-questions@FreeBSD.ORG Wed May 7 21:42:35 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 017F120A for ; Wed, 7 May 2014 21:42:35 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [IPv6:2001:4b98:c:538::197]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B03D11EF for ; Wed, 7 May 2014 21:42:34 +0000 (UTC) Received: from mfilter2-d.gandi.net (mfilter2-d.gandi.net [217.70.178.140]) by relay5-d.mail.gandi.net (Postfix) with ESMTP id 5597541C051 for ; Wed, 7 May 2014 23:42:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter2-d.gandi.net Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by mfilter2-d.gandi.net (mfilter2-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id PUrKkz+73X-0 for ; Wed, 7 May 2014 23:42:29 +0200 (CEST) X-Originating-IP: 76.10.185.65 Received: from [192.168.42.150] (76-10-185-65.dsl.teksavvy.com [76.10.185.65]) (Authenticated sender: lists@gooch.io) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 0E2DA41C05D for ; Wed, 7 May 2014 23:42:28 +0200 (CEST) Message-ID: <536AA8B8.2030504@gooch.io> Date: Wed, 07 May 2014 14:42:16 -0700 From: Jesse Gooch User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.4.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: bootstrapping /usr/sbin/pkg inside a jail References: <5369407E.9060008@a1poweruser.com> <53694241.6050207@my.hennepintech.edu> <536A39E4.8090202@a1poweruser.com> In-Reply-To: <536A39E4.8090202@a1poweruser.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 May 2014 21:42:35 -0000 Hi Andrew, On 07/05/14 06:49 AM, Fbsd8 wrote: > Andrew Berg wrote: >> On 2014.05.06 15:05, Fbsd8 wrote: >> Does your jail have working internet connectivity and DNS resolution? > Yes of course > > It's not a question of getting to the internet which ping shows works. Have you enabled raw sockets on your jails? Ping should not normally work on a jail. For example on one of my jails ping does this: > root@www:/ # ping 4.2.2.1 > ping: socket: Operation not permitted I commonly encounter your error when I forget to add a new pf nat rule when creating a new jail. Are you assigning the jail an alias on the local network or using NAT with a loopback address?