From owner-freebsd-jail@freebsd.org Sat Dec 12 00:51:02 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 1EF61A04965 for ; Sat, 12 Dec 2015 00:51:02 +0000 (UTC) (envelope-from marcel.plouf@gmail.com) Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::22b]) (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 B260815FD for ; Sat, 12 Dec 2015 00:51:01 +0000 (UTC) (envelope-from marcel.plouf@gmail.com) Received: by mail-wm0-x22b.google.com with SMTP id c201so93832446wme.0 for ; Fri, 11 Dec 2015 16:51:01 -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=LEZ1IK+jJg7/J6zSrqC0owxBpDgE9rWbPbS4D4z3BGc=; b=kVtYC9u+csiaDUwwlIc5zukxGcgc9Foda7eZS5QomOedAyqx/b1VXUN6iyf1z8+tEe gt3cdRU49y1B83t9bQdFNEI9431I9ViylTIOXvETE0zRsYy+tNhM1VdTV7Zlxb1bgdqk imsosMd9794iv2MY6eGkeZrnNsRCFbs0xMdB9bpHUwzJqsAnHkjkKOBOnhEZcPyL/953 ZdUnqBpOzgAPdoHRxDmkF9V8jbCN6QOxUZwlLTCjSCD7kGrsHYGPKwgfvQ5WXowC1zyv gvze9RcQQTV2QnMYJx1T9lUaOdUXrDu42atQ32/YKpCTkCTrTxwXQUokJVNezseMvFck qXug== X-Received: by 10.194.19.100 with SMTP id d4mr23399860wje.18.1449881460280; Fri, 11 Dec 2015 16:51:00 -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 qm9sm19056534wjc.39.2015.12.11.16.50.58 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 11 Dec 2015 16:50:59 -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: <566B7D7E.2070507@gmail.com> Date: Sat, 12 Dec 2015 01:50:54 +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:51:02 -0000 No I don't get to have an IP address... Yet I have writed this in my host's rc.conf: jail_enable="YES" jail_list="thename" jail_guantanamo_rootdir="thepath" jail_guantanamo_hostname="thename" jail_guantanamo_ip="192.168.0.12" and I use the command: jail thepath thename 192.168.0.12 /bin/csh to connect to my jail... 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