From owner-freebsd-questions Fri Nov 10 2:48:23 2000 Delivered-To: freebsd-questions@freebsd.org Received: from shalimar.net.au (shalimar.net.au [198.142.161.98]) by hub.freebsd.org (Postfix) with ESMTP id 1A32337B4D7 for ; Fri, 10 Nov 2000 02:48:14 -0800 (PST) Received: from shalimar.net.au (localhost [127.0.0.1]) by shalimar.net.au (8.11.1/8.11.1) with SMTP id eAAAm1b03319; Fri, 10 Nov 2000 21:48:03 +1100 (EST) (envelope-from count@shalimar.net.au) From: Zero Sum Organization: Tobacco Chewers and Body Painters Association. Date: Fri, 10 Nov 2000 21:48:00 +1100 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="us-ascii" Cc: questions@FreeBSD.ORG To: Mike Meyer References: <14859.46378.832801.322465@guru.mired.org> In-Reply-To: <14859.46378.832801.322465@guru.mired.org> Subject: Re: ipfw firewall question MIME-Version: 1.0 Message-Id: <00111021480007.00417@shalimar.net.au> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- On Friday 10 November 2000 19:43, Mike Meyer wrote: > Zero Sum types: > > I have the following ipfw firewall rules... > > > > 01100 allow udp from 198.142.161.98 to 203.2.75.132 53 out xmit tun0 > *.* > > 01200 allow udp from 198.142.161.98 to 203.2.75.108 53 out xmit tun0 > > 01300 allow udp from 203.2.75.132 53 to 198.142.161.98 in recv tun0 > > 01400 allow udp from 203.2.75.108 53 to 198.142.161.98 in recv tun0 > > > > But my log shows.... > > > > ipfw: 65435 Deny UDP 198.142.161.98:1024 202.2.75.132:53 out via tun0 > *.* > > > > The first of the DNS rules should allow any port from 198.142.161.98 to > > 203.3.75.132 port 53 should it not? > *.* > > > > What am I not understanding? > > Your understanding is right; your reading is wrong. Note the marked > digits carefully - you've got three different IP addresses there, > always with either 2s or 3s in the marked locations. > >