From owner-freebsd-security Tue Jul 25 0:23:18 2000 Delivered-To: freebsd-security@freebsd.org Received: from mail.rdc1.il.home.com (ha1.rdc1.il.home.com [24.2.1.66]) by hub.freebsd.org (Postfix) with ESMTP id 785B337B6BD for ; Tue, 25 Jul 2000 00:23:15 -0700 (PDT) (envelope-from stephen@math.missouri.edu) Received: from math.missouri.edu ([24.12.197.197]) by mail.rdc1.il.home.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20000725072315.GDBZ11071.mail.rdc1.il.home.com@math.missouri.edu>; Tue, 25 Jul 2000 00:23:15 -0700 Message-ID: <397D4062.4A1FFFE2@math.missouri.edu> Date: Tue, 25 Jul 2000 02:23:14 -0500 From: Stephen Montgomery-Smith X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.14 i686) X-Accept-Language: en MIME-Version: 1.0 To: cjclark@alum.mit.edu Cc: freebsd-security@FreeBSD.ORG Subject: Re: Problems with natd and simple firewall References: <397C8F30.8DFCE0E9@math.missouri.edu> <20000724225053.B258@pool0653.cvx20-bradley.dialup.e> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Crist J. Clark" wrote: > > Why not just block the RFC1918 addresses on the outer interface > _before_ the divert rule? > > # Stop RFC1918 nets on the outside interface > ........... > ${fwcmd} add deny all from any to 192.168.0.0/16 via ${oif} > > $fwcmd add divert natd all from any to any via ${natd_interface} > > Seems simple enough? No downside I can see. Yes, I had the same idea over dinner. Trouble is, it doesn't work. I tried it. -- Stephen Montgomery-Smith Department of Mathematics, University of Missouri, Columbia, MO 65211 Phone 573-882-4540, fax 573-882-1869 http://www.math.missouri.edu/~stephen stephen@math.missouri.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message