From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 07:08:32 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 35A831065670 for ; Wed, 11 Aug 2010 07:08:32 +0000 (UTC) (envelope-from thomas@sanbe-farma.com) Received: from kikazu.sanbe-farma.com (kikazu.sanbe-farma.com [202.6.239.17]) by mx1.freebsd.org (Postfix) with ESMTP id 742B88FC08 for ; Wed, 11 Aug 2010 07:08:31 +0000 (UTC) Received: from sanbe-farma.com (gwsanbe.sanbe-farma.com [202.6.239.18]) by kikazu.sanbe-farma.com (8.14.3/8.14.3) with SMTP id o7B5fxZt049233 for ; Wed, 11 Aug 2010 12:41:59 +0700 (WIT) (envelope-from thomas@sanbe-farma.com) Received: (qmail 76583 invoked by uid 98); 11 Aug 2010 13:51:42 +0700 Received: from 192.168.16.75 by gwsanbe.sanbe-farma.com (envelope-from , uid 82) with qmail-scanner-2.01 (clamdscan: 0.96.1/11194. spamassassin: 3.3.1. Clear:RC:1(192.168.16.75):. Processed in 0.026316 secs); 11 Aug 2010 06:51:42 -0000 Received: from unknown (HELO ?127.0.0.1?) (192.168.16.75) by gwsanbe.sanbe-farma.com with SMTP; 11 Aug 2010 13:51:42 +0700 Message-ID: <4C624877.8080903@sanbe-farma.com> Date: Wed, 11 Aug 2010 13:51:35 +0700 From: Thomas Wahyudi User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org 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> In-Reply-To: <86fwylzyqd.fsf@red.stonehenge.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 07:08:32 -0000 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? > > you need natd and firewall divert rule on jail host. Everything that involve outside jail need must be configure at jail host level. -- Thanks& Regards, Thomas Wahyudi