From owner-freebsd-jail@FreeBSD.ORG Sun Jun 1 02:54:03 2014 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B2ED1234 for ; Sun, 1 Jun 2014 02:54:03 +0000 (UTC) Received: from alogt.com (alogt.com [69.36.191.58]) (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 8C4FB253F for ; Sun, 1 Jun 2014 02:54:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=C4e88tmFoc9G2Ld2oNnvARjHgtD120VQnvRHo+cUT5U=; b=ChueL0K02ykcAvEFD9RJ/GjRxxvs1BuGlQJuukGeKOIcbqM5ZEtoYDHMQIMhK2Is+VcD5lU4buR93PrIDxvVidwt9IKyktabgxVYWhpxsr+Ode2ap8XDIGFivlPmLvg6muu5k0jdM5G8EV2DEFKaxLnGqgI559xxZKmV1pTuoes=; Received: from [182.1.231.163] (port=25478 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from ) id 1WqvuK-001YAm-Ox; Sat, 31 May 2014 20:54:01 -0600 Date: Sun, 1 Jun 2014 10:53:55 +0800 From: Erich Dollansky To: s7r@sky-ip.org Subject: Re: cannot access internet from jail, help needed please Message-ID: <20140601105355.46b87722@X220.alogt.com> In-Reply-To: <538A7059.7070500@sky-ip.org> References: <538A7059.7070500@sky-ip.org> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-jail@freebsd.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jun 2014 02:54:03 -0000 Hi, On Sun, 01 Jun 2014 03:14:17 +0300 s7r wrote: > > 2. My server has 3 public IPv4 addresses. Add one of them as an alias > (for the jail): > # ifconfig em0 alias netmask 255.255.255.255 > # echo 'ifconfig_em0_alias0="inet netmask 255.255.255.255"' >> > /etc/rc.conf > I always prepare the following files before I create a jail: group inetd.conf master.passwd rc.conf resolv.conf Do you have all of them inside the jail with the proper details of the jail? Erich