From owner-freebsd-jail@freebsd.org Wed Jul 6 16:50:02 2016 Return-Path: Delivered-To: freebsd-jail@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E7031B75287 for ; Wed, 6 Jul 2016 16:50:02 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from msa1.earth.yoonka.com (yoonka.com [185.24.122.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "msa1.earth.yoonka.com", Issuer "msa1.earth.yoonka.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 792FC1AA2 for ; Wed, 6 Jul 2016 16:50:01 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from crayon2.yoonka.com (crayon2.yoonka.com [10.70.7.20]) (authenticated bits=0) by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id u66Gnqkg030411 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 6 Jul 2016 16:49:52 GMT (envelope-from list1@gjunka.com) To: freebsd-jail@freebsd.org From: Grzegorz Junka Subject: Effective rule sets in a jail? Message-ID: <2aeb6798-11ee-27c0-610a-d745aa322f97@gjunka.com> Date: Wed, 6 Jul 2016 16:49:52 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jul 2016 16:50:03 -0000 I have the following in my jail.conf: devfs_ruleset = 4; vpn1 { ip4.addr = 10.70.5.254; ip4.addr += "tun0|10.70.5.1 10.70.5.254 mtu 1500 netmask 255.255.255.255"; interface = lagg0; devfs_ruleset = 5; } I expect that in the jail both rules 4 and 5 are active. How can I check that? Grzegorz