From owner-freebsd-jail@freebsd.org Sat Dec 12 00:57:22 2015 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 C3264A04FB9 for ; Sat, 12 Dec 2015 00:57:22 +0000 (UTC) (envelope-from marcel.plouf@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 796FB19DD for ; Sat, 12 Dec 2015 00:57:22 +0000 (UTC) (envelope-from marcel.plouf@gmail.com) Received: by wmec201 with SMTP id c201so92106651wme.1 for ; Fri, 11 Dec 2015 16:57:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=wVG5xAxvQ5eXtft2EHhAMWwHFHszJRoX/F06NtnWi8g=; b=mVvCYgSD33kU1D7OQMy7xUJVdy1hP5VQCBVeYZxAlrI96WUALsQfVohnRIfKl5XGYQ rHi+GupcQ1N/ap5qN5AFq6yGVNulIWoeDF1aI92+qv4Z9Hqsr3OsnhG1vAtI+PrQExyF g0rG5/ihfuybIjIUpqJoX74lnjK+q7dSlm1+IXisX437FjGmnnQNWd9RneQvLmaQe4yd lBBNwN5jHDWhlimaOhmDBZCxrEg9lPRkLDiDUR5RUorpJRTOnrIkK+ij/fGwmAeHDSQU Bsktu9C9Hf+ULyES9lnxSVDcoUa7WNkC+Xbkv2wD+R/YSDdPituD+LWa11/R8koVhHCM ICYw== X-Received: by 10.28.94.1 with SMTP id s1mr9015349wmb.60.1449881840983; Fri, 11 Dec 2015 16:57:20 -0800 (PST) Received: from [192.168.1.244] (85-171-136-71.rev.numericable.fr. [85.171.136.71]) by smtp.gmail.com with ESMTPSA id c13sm5490330wmd.14.2015.12.11.16.57.20 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 11 Dec 2015 16:57:20 -0800 (PST) Subject: Re: Configuring network without ezjail To: Dirk Engling , freebsd-jail@freebsd.org References: <566B67F7.1090404@gmail.com> <566B5CB6.8050009@erdgeist.org> From: marcel X-Enigmail-Draft-Status: N1110 Message-ID: <566B7EF6.5040701@gmail.com> Date: Sat, 12 Dec 2015 01:57:10 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <566B5CB6.8050009@erdgeist.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Dec 2015 00:57:22 -0000 ... And I think I have enabling gateway: I have writed this in both of the rc.conf: gateway_enable="YES" Is it correct ? But I don't think I have DNS problem, my host correclty accessed to internet and the resolv.conf of my jail is the same as the resolv.conf of my host... On 11/12/2015 23:31, Dirk Engling wrote: > On 12.12.15 01:19, marcel wrote: > >> I would like to know if it is possible to configure a jail's network for >> accessing to the World Wide Web but without ezjail ? >> I have created my jail without ezjail (mkdir jail, make installworld, >> etc...) and I would like to continue without it if it's possible... > Sure, why doesn't it connect to the net? Does it have a RFC1918 IP? If > so, you need to enable NAT. If not, did you enable gatewaying? Maybe you > just have DNS problems, so is your resolv.conf set up properly? > > Without knowing what exactly is not working, I can not help you. > > erdgeist