From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 13:29:59 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87E86106564A for ; Wed, 11 Aug 2010 13:29:59 +0000 (UTC) (envelope-from merlyn@stonehenge.com) Received: from red.stonehenge.com (red.stonehenge.com [IPv6:2607:f2f8:3080::]) by mx1.freebsd.org (Postfix) with ESMTP id 713D38FC12 for ; Wed, 11 Aug 2010 13:29:59 +0000 (UTC) Received: by red.stonehenge.com (Postfix, from userid 1001) id 5C6BB43631; Wed, 11 Aug 2010 06:29:59 -0700 (PDT) From: merlyn@stonehenge.com (Randal L. Schwartz) To: Thomas Wahyudi References: <268321.67123.qm@web24608.mail.ird.yahoo.com> <4C61E8B1.7050605@a1poweruser.com> <86mxsuynm0.fsf@red.stonehenge.com> <4C620356.6070402@a1poweruser.com> <86fwylzyqd.fsf@red.stonehenge.com> <4C624877.8080903@sanbe-farma.com> x-mayan-date: Long count = 12.19.17.10.17; tzolkin = 12 Caban; haab = 10 Yaxkin Date: Wed, 11 Aug 2010 06:29:59 -0700 In-Reply-To: <4C624877.8080903@sanbe-farma.com> (Thomas Wahyudi's message of "Wed, 11 Aug 2010 13:51:35 +0700") Message-ID: <8662zhxoo8.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2010 13:29:59 -0000 >>>>> "Thomas" == Thomas Wahyudi writes: Thomas> On 11/08/2010 9:09, Randal L. Schwartz wrote: fbsd8> man 8 ifconfig >> Yup, and using that, I can give a private 10.x address to my jail. >> >> How do I get it to face the public without a firewall rule? >> >> Thomas> you need natd and firewall divert rule on jail host. Everything that involve Thomas> outside jail need must be configure at jail host level. Exactly as I suspected. Thanks for confirming it. I was just wondering if fbsd8 was blowing smoke, and apparently, yes. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion