Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 2002 10:53:33 -0500
From:      ScaryG <freymann@scaryg.shacknet.nu>
To:        Flemming Frøkjkær <flemming@froekjaer.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ipfw rules
Message-ID:  <20020320105333.6376de59.freymann@scaryg.shacknet.nu>
In-Reply-To: <3C992774.D763B085@froekjaer.org>
References:  <3C992774.D763B085@froekjaer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 20 Mar 2002 16:21:08 -0800
Flemming Frøkjkær <flemming@froekjaer.org> wrote:

> I'm trying to build a firewall based on the simple firewall in the
> rc.firewall script
> after enabling the firewall I can't look up any addresses. If I use
> nslookup it just times out :(
> I can add a rule like this: ipfw add 9999 pass all from any to any
> Then everything works, but the firewall does not do me any good :(
> what rules should I add to make DNS work?

 I think you need to add this one:

${fwcmd} add pass udp from ${ip} to any 53 keep-state

gf



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020320105333.6376de59.freymann>