Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2018 13:15:57 +0800
From:      Erich Dollansky <freebsd.ed.lists@sumeritec.com>
To:        Norman Gray <norman.gray@glasgow.ac.uk>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Jails and networks
Message-ID:  <20180825131557.5ac0bd8d.freebsd.ed.lists@sumeritec.com>
In-Reply-To: <C3FD798E-36D4-4FC1-A891-CAB04A7779E1@glasgow.ac.uk>
References:  <6B17F10B-F3AE-45C5-8011-EBE52462230E@glasgow.ac.uk> <20180824115214.775c7464.freebsd.ed.lists@sumeritec.com> <C3FD798E-36D4-4FC1-A891-CAB04A7779E1@glasgow.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Norman,

On Fri, 24 Aug 2018 13:36:02 +0100
Norman Gray <norman.gray@glasgow.ac.uk> wrote:

> 
> > I did not go through your e-mail. Just take my working settings to
> > start with:  
> 
> Thanks for this.  My problem is that my /etc/jail.conf is already
> very simple,
> 
>      exec.start = "/bin/sh /etc/rc";
>      exec.stop = "/bin/sh /etc/rc.shutdown";
>      exec.clean;
>      path = "/local/jails/$name";
>      mount.fstab = "/etc/jail/fstab.${name}";
>      mount.devfs;
>      host.hostname = "${name}.local";
>      devfs_ruleset         = "4";
>      norman {
>          ip4.addr = "192.168.11.128";
>          interface = "igb0";
>      }
> 
> and my jail's /etc/rc.conf even simpler than yours
> 
>      # cat /etc/rc.conf
>      syslogd_flags="-ss"
>      #
> 
I remember from the days finding my working solution out that FreeBSD
is picky about little things. You see the small differences. It might
be the cause.

> But still 'host www.freebsd.org' times out within the jail.

I use always jails for web browsing without any problems.

> 
> There's something important about jail networking that I'm not 
> understanding, but I haven't a clue what it is.  Most frustrating.
> 
Whom are you telling this?

Erich



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180825131557.5ac0bd8d.freebsd.ed.lists>