Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Feb 2001 06:12:21 +0100
From:      Martin Eggen <martin@copyleft.no>
To:        Peter Brezny <peter@sysadmin-inc.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: ipfw not allowing dns traffic
Message-ID:  <20010203061221.B22365@unity.copyleft.no>
In-Reply-To: <000801c08d5e$5f4259c0$46010a0a@sysadmininc.com>; from peter@sysadmin-inc.com on Fri, Feb 02, 2001 at 04:23:22PM -0500
References:  <000801c08d5e$5f4259c0$46010a0a@sysadmininc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
[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 <martin@copyleft.no>


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?20010203061221.B22365>