From owner-freebsd-questions@freebsd.org Fri Aug 24 12:36:05 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 47C8410892D9 for ; Fri, 24 Aug 2018 12:36:05 +0000 (UTC) (envelope-from Norman.Gray@glasgow.ac.uk) Received: from hillend.cent.gla.ac.uk (hillend.cent.gla.ac.uk [130.209.16.102]) (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 D26F784567 for ; Fri, 24 Aug 2018 12:36:04 +0000 (UTC) (envelope-from Norman.Gray@glasgow.ac.uk) Received: from cas08.campus.gla.ac.uk ([130.209.14.165]) by hillend.cent.gla.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1ftBJr-00073h-Pc; Fri, 24 Aug 2018 13:36:03 +0100 Received: from [10.130.248.80] (130.209.203.66) by cas08.campus.gla.ac.uk (130.209.14.165) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 24 Aug 2018 13:36:03 +0100 From: Norman Gray To: Erich Dollansky CC: FreeBSD Questions Subject: Re: Jails and networks Date: Fri, 24 Aug 2018 13:36:02 +0100 X-Mailer: MailMate (1.11.3r5509) Message-ID: In-Reply-To: <20180824115214.775c7464.freebsd.ed.lists@sumeritec.com> References: <6B17F10B-F3AE-45C5-8011-EBE52462230E@glasgow.ac.uk> <20180824115214.775c7464.freebsd.ed.lists@sumeritec.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Originating-IP: [130.209.203.66] X-ClientProxiedBy: CAS08.campus.gla.ac.uk (130.209.14.165) To cas08.campus.gla.ac.uk (130.209.14.165) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2018 12:36:05 -0000 Erich, hello. On 24 Aug 2018, at 4:52, Erich Dollansky 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" # But still 'host www.freebsd.org' times out within the jail. There's something important about jail networking that I'm not understanding, but I haven't a clue what it is. Most frustrating. Best wishes, Norman -- Norman Gray : https://nxg.me.uk SUPA School of Physics and Astronomy, University of Glasgow, UK