Date: Fri, 2 Feb 2001 16:01:23 -0700 (MST) From: Nick Rogness <nick@rapidnet.com> To: Peter Brezny <peter@sysadmin-inc.com> Cc: freebsd-net@freebsd.org Subject: Re: ipfw not allowing dns traffic Message-ID: <Pine.BSF.4.21.0102021557400.9837-100000@rapidnet.com> In-Reply-To: <000801c08d5e$5f4259c0$46010a0a@sysadmininc.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2 Feb 2001, Peter Brezny wrote: > 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? ipfw add 500 allow udp from any to $ns1 53 in via $outside_int ipfw add 501 allow udp from $ns1 53 to any out via $outside_int DNS (source port) requests will not necessarily run on port 53. Nick Rogness - Keep on routing in a Free World... "FreeBSD: The Power to Serve " To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0102021557400.9837-100000>