From owner-freebsd-stable@FreeBSD.ORG Sat Jul 29 19:19:10 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3668616A4E1 for ; Sat, 29 Jul 2006 19:19:10 +0000 (UTC) (envelope-from igorr@speechpro.com) Received: from speechpro.ru (speech-tech-2.ip.PeterStar.net [81.3.190.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9418E43D4C for ; Sat, 29 Jul 2006 19:19:09 +0000 (GMT) (envelope-from igorr@speechpro.com) Received: from [192.168.2.26] (helo=sysadm.stc) by s1.stc with esmtp (Exim 4.53 (FreeBSD)) id 1G6uL6-0000an-24 for freebsd-stable@freebsd.org; Sat, 29 Jul 2006 23:19:08 +0400 Received: from localhost.stc ([127.0.0.1] helo=sysadm.stc) by sysadm.stc with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1G6uLD-00031C-Rt for freebsd-stable@freebsd.org; Sat, 29 Jul 2006 23:19:16 +0400 Received: (from igorr@localhost) by sysadm.stc (8.13.6/8.13.6/Submit) id k6TJJFKp011605 for freebsd-stable@freebsd.org; Sat, 29 Jul 2006 23:19:15 +0400 (MSD) (envelope-from igorr) Date: Sat, 29 Jul 2006 23:19:15 +0400 From: Igor Robul To: freebsd-stable@freebsd.org Message-ID: <20060729191915.GA11595@sysadm.stc> References: <20060729070410.GD8063@sysadm.stc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 X-Archived: Yes Subject: Re: Gateway X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jul 2006 19:19:10 -0000 On Sat, Jul 29, 2006 at 01:42:41PM -0400, SigmaX asdf wrote: > >^^^^^^^^^^^^^^^^^^^ > >Should be natd_enable="YES" > > > Heh; yeah, typo in my post. The file has it ok. Is there something I have > to do to specify the interfaces which have nat enabled? Does natd_enable > automatically forward any/every packet to any/every interface? Personally I use ipfilter, but for ipfw/natd you need to specify "divert" rule. You can find many examples, including ones in FreeBSD handbook.