Date: Wed, 07 May 2014 18:14:55 -0400 From: Fbsd8 <fbsd8@a1poweruser.com> To: Jesse Gooch <lists@gooch.io> Cc: freebsd-questions@freebsd.org Subject: Re: bootstrapping /usr/sbin/pkg inside a jail Message-ID: <536AB05F.1030306@a1poweruser.com> In-Reply-To: <536AA8B8.2030504@gooch.io> References: <5369407E.9060008@a1poweruser.com> <53694241.6050207@my.hennepintech.edu> <536A39E4.8090202@a1poweruser.com> <536AA8B8.2030504@gooch.io>
next in thread | previous in thread | raw e-mail | index | archive | help
Jesse Gooch wrote: > 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? Yes I enabled raw sockets and yes I use auto alias and no nat rules necessary.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?536AB05F.1030306>