From owner-freebsd-questions@freebsd.org Sat Aug 25 06:20:42 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 75BB210A24D5 for ; Sat, 25 Aug 2018 06:20:42 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from out2-4.antispamcloud.com (out2-4.antispamcloud.com [185.201.17.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 029B18AE53 for ; Sat, 25 Aug 2018 06:20:41 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from [153.92.8.106] (helo=srv31.niagahoster.com) by mx42.antispamcloud.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1ftQwR-00040r-J4; Sat, 25 Aug 2018 07:17:17 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sumeritec.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=xgwpHK3QVyxxnxGuhP5/gPU2mTwWPxjZj7dSijVcYnU=; b=VS4lKAQ+tNg1kz8N9ZrsSdhc5D 3GO37+7gvjI7pKWoJkv0zGsSSvl0rid0eevhOJg17PikLdbhJZLWnkGZ1vJdd6WxrgdQbS6SkRpXt YqsPHroVTSTuXOvE2BFH7GX2kdpm6V6iWP7T5btMA4G+K3k4tjRUyukwcx5e68N0nYOwxxQXXpqHy QQN7Ti3QqjHWsNM5Va9barr95f3XF3M+uAdk97oBLnTrTuyNgdvCi5W/D8dwITQHVrHxFakjkopvs eweiZPBiKTMXY+ss6OPdG5i9Zn2LayqbP2UfeiDTRRPmy8K4NpRsLxolJoLUhzaxuv1LYEAwVLV+V JdKgyMdg==; Received: from [114.125.72.95] (port=22736 helo=X220.sumeritec.com) by srv31.niagahoster.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1ftQva-0006B8-72; Sat, 25 Aug 2018 12:16:07 +0700 Date: Sat, 25 Aug 2018 13:15:57 +0800 From: Erich Dollansky To: Norman Gray Cc: FreeBSD Questions Subject: Re: Jails and networks Message-ID: <20180825131557.5ac0bd8d.freebsd.ed.lists@sumeritec.com> In-Reply-To: References: <6B17F10B-F3AE-45C5-8011-EBE52462230E@glasgow.ac.uk> <20180824115214.775c7464.freebsd.ed.lists@sumeritec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-1.0 X-AuthUser: freebsd.ed.lists@sumeritec.com X-Originating-IP: 153.92.8.106 X-AntiSpamCloud-Domain: out.niagahoster.com X-AntiSpamCloud-Username: niaga Authentication-Results: antispamcloud.com; auth=pass (login) smtp.auth=niaga@out.niagahoster.com X-AntiSpamCloud-Outgoing-Class: unsure X-AntiSpamCloud-Outgoing-Evidence: Combined (0.23) X-Recommended-Action: accept X-Filter-ID: EX5BVjFpneJeBchSMxfU5sT461dV8oxXNPUT560D0Jd602E9L7XzfQH6nu9C/Fh9KJzpNe6xgvOx q3u0UDjvOztukqweARitNSGTKzpDBfjZBtoFvjsKifOYu1ky/KMdmofmyFAiuF3KR7qyhMVStbt1 zPu5jyI5c1RdFy9oIkdMc1rc4c8gTdWHq8LmAzmx0OEezHIOAwhclk8GGunkbRI7+ctq55o3paXd 8fRhMeWV9mua2H42BgYi1KVTzBqa1nzeFAKlpvpX2hfdPKcWbF7AhhPERPMiMEDgMLQ4ddFsc1ey +P263ykolymNUS1K53//5u0GEbksDBq52BT+8Y9CtK0otwRq7ODb3BEqtR3MJ1FN3Akvhf7CDT3a RtZSyR4OCoYVZU6cl2hrHOEs2MaJmLckW/2NEJnK92B/nZhqP+V6qGLt2q+qaRnMbIAGDJdxHoqW OsEi2OvpMTrq50BCT7VPbvBhEprgLg7XUCzDcm/nUO8pwOx0A4AAPiFmZM3NuHht4ah3jKpVe9Q5 dRUzleIw4au/m5ZgBdKVrXFXgU9WZf9Roe3/x2xyr8PYehIqUczFWeS6sE8e1b5/UpB2KYCdSfhN FUYXLHHh5vJ92sVsNv4/n68zqLHQfaIp7lZaq1vVJ7nkDEuz67NcdLY3zuPzIL+fAL6NbiTS0k0H mFDqewO9xyOqCYO8P1aHPM1TJdMh2QWAmkTXo/7BhDvKHzsEIm4YYrIOoRSxFOOYpw6J8M9jskMZ 9OydafMdy7bZA8aq1GG/qDFLT1GG+vc7t0O9QMuxavQ7cxlynuRy2DNwOgV373pfDhBQ21OdMP4I vTyZ+2aBBT1aef9yAnMWqmFkzH3W66Q1r7hIhUtTmUqrIVNwRs9vyKCzho/kGJdimYZGouioJWKk MaVHGkQJCLQ1HiaBHFG3jTjc7Wx9OS9JMUgb+NSPaOMHK9y9qzdMSFYPICMsWo0FENZjqvKlJYZ8 uhQmvjXljlp+YR7eYbKNKdqhCvbyyx+iMF8P7HSlf9BY+HaHqZSIASfXMQ== X-Report-Abuse-To: spam@quarantine1.antispamcloud.com 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: Sat, 25 Aug 2018 06:20:42 -0000 Hi Norman, On Fri, 24 Aug 2018 13:36:02 +0100 Norman Gray 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