From owner-freebsd-questions Sat Jun 23 12:25:53 2001 Delivered-To: freebsd-questions@freebsd.org Received: from pike.netdoor.com (netdoor.com [208.137.128.6]) by hub.freebsd.org (Postfix) with ESMTP id 2AE1537B43D for ; Sat, 23 Jun 2001 12:25:39 -0700 (PDT) (envelope-from jcouch@netdoor.com) Received: from katana.amberskogg.dns2go.com (port142.tup.netdoor.com [208.137.140.206]) by pike.netdoor.com (8.9.3/8.9.3) with SMTP id OAA07973; Sat, 23 Jun 2001 14:25:36 -0500 (CDT) Content-Type: text/plain; charset="iso-8859-1" From: Jim couch Reply-To: jcouch@netdoor.com Organization: AmberSkogg Development To: tyler spivey , freebsd-questions@FreeBSD.ORG Subject: Re: how i fixed natd Date: Sat, 23 Jun 2001 14:25:35 -0500 X-Mailer: KMail [version 1.2] References: <200106231404.f5NE4IP00472@home.com> In-Reply-To: <200106231404.f5NE4IP00472@home.com> MIME-Version: 1.0 Message-Id: <01062314253500.09815@katana.amberskogg.dns2go.com> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG here's all the script you need for rc.firewall. comes straight from the handbook (and works) ----------------------------------------------- /sbin/ipfw -f flush /sbin/ipfw add divert natd all from any to any via pcn0 #besure to use YOUR /sbin/ipfw add pass all from any to any #interface to the #world ------------------------------------------- and no packets are lost On Saturday 23 June 2001 09:04 am, tyler spivey wrote: > i didn't need the whole firewall script so i constructed a script with my > options - didnt bother with the stock firewall script. just 2-3 ipfw lines > - natd works but is losing a few packets. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message