From owner-freebsd-jail@FreeBSD.ORG Tue May 28 05:14:38 2013 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2D8EDB03 for ; Tue, 28 May 2013 05:14:38 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 9A6FB8A3 for ; Tue, 28 May 2013 05:14:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id r4S5EMNa056698; Tue, 28 May 2013 15:14:24 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 28 May 2013 15:14:22 +1000 (EST) From: Ian Smith To: Mogamat Abrahams Subject: Re: Cant reach Jailed services from internet. In-Reply-To: Message-ID: <20130528145629.X55451@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-jail@freebsd.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 05:14:38 -0000 On Mon, 27 May 2013 20:01:29 +0000, Mogamat Abrahams wrote: > Mats A. Hansen writes: > > > Any reason you are running your webjail on the broadcast IP for the > > subnet? IP range for your 0xfffffffc net would be (.77|.78). > > Hi, > > Thanks, however thats the info I got the from people providing the machine : That's a worry .. you won't do any good trying to use the broadcast address. Mats is right, you only get 2 usable addresses with a /30. > The hosts rc.conf: > > ipv4_addrs_em0="67.x.x.x/27 174.x.x.76-79/30" > > Will try some of the other ips and see how it goes. If/when you're running a firewall, it's common to just drop any packets addressed to the network address (here .76) and broadcast address (.79) coming in from the outside. Perhaps you need a /29, which would give you 6 usable addresses? cheers, Ian