From owner-freebsd-net Fri Feb 2 21:12:42 2001 Delivered-To: freebsd-net@freebsd.org Received: from unity.copyleft.no (unity.copyleft.no [212.71.72.23]) by hub.freebsd.org (Postfix) with ESMTP id B604037B491 for ; Fri, 2 Feb 2001 21:12:24 -0800 (PST) Received: from martin by unity.copyleft.no with local (Exim 3.12 #1) id 14Ouzl-0005qx-00; Sat, 03 Feb 2001 06:12:21 +0100 Date: Sat, 3 Feb 2001 06:12:21 +0100 From: Martin Eggen To: Peter Brezny Cc: freebsd-net@freebsd.org Subject: Re: ipfw not allowing dns traffic Message-ID: <20010203061221.B22365@unity.copyleft.no> References: <000801c08d5e$5f4259c0$46010a0a@sysadmininc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000801c08d5e$5f4259c0$46010a0a@sysadmininc.com>; from peter@sysadmin-inc.com on Fri, Feb 02, 2001 at 04:23:22PM -0500 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [Peter Brezny] > I thought I had everything. > > # Allow DNS traffic from internet to query your DNS (for reverse > # lookups etc). > $fwcmd add allow tcp from any 53 to $ns1 53 setup > $fwcmd add allow udp from any 53 to $ns1 53 > $fwcmd add allow udp from $ns1 53 to any 53 > > but nslookup's fail from outside the firewall on another machine in nslookup > with server set to my firewall machine. > > What have i missed? Your nslookup queries may not originate from port 53. (In fact, as they are non-root processes, they use ephemeral ports high above 1023). -- Martin Eggen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message