Date: Tue, 29 Oct 2002 15:11:20 -0500 From: "JoeB" <barbish@a1poweruser.com> To: "C KH" <dubbified@hotmail.com>, <questions@FreeBSD.ORG> Subject: RE: Can't connect to DNS servers -- Firewall prob? Message-ID: <MIEPLLIBMLEEABPDBIEGCEFFCOAA.barbish@a1poweruser.com> In-Reply-To: <F63LxpTbag35fiKe5A70000739a@hotmail.com>
index | next in thread | previous in thread | raw e-mail
Change rules so they look this.
$fwcmd add allow udp from 66.135.144.2 53 to $oip
$fwcmd add allow udp from 66.135.128.68 53 to $oip
$fwcmd add allow tcp from 66.135.144.2 53 to $oip
$fwcmd add allow tcp from 66.135.128.68 53 to $oip
$fwcmd add allow udp from $oip to 66.135.144.2 53
$fwcmd add allow udp from $oip to 66.135.128.68 53
$fwcmd add allow tcp from $oip to 66.135.144.2 53
$fwcmd add allow tcp from $oip to 66.135.128.68 53
-----Original Message-----
From: owner-freebsd-questions@FreeBSD.ORG
[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of C KH
Sent: Tuesday, October 29, 2002 1:53 PM
To: questions@FreeBSD.ORG
Subject: Can't connect to DNS servers -- Firewall prob?
I have 2 computers on a network -- one freebsd 4.7 and one slackware
linux.
The slackware linux box is able to connect to the DNS servers no
problem, so
I know it's not a problem with my ISP.
My FreeBSD 4.7 box is unable to contact either primary or secondary
nameservers.
I have explicitly added these rules to my /etc/rc.firewall:
$fwcmd add allow udp from 66.135.144.2 53 to $oip
$fwcmd add allow udp from 66.135.128.68 53 to $oip
$fwcmd add allow tcp from 66.135.144.2 53 to $oip
$fwcmd add allow tcp from 66.135.128.68 53 to $oip
(where $oip is my external IP address).
Another possibly related thing is that on bootup, my server hangs
indefinitely as the initializing "hostname" part. I need to hard
break it
with CTRL+C to continue bootup.
Any ideas? I don't know how to tell if this is a larger problem with
my
server configuration or somethign to do with a firewall rule.
Suggestions
appreciated.
_________________________________________________________________
Get faster connections -- switch to MSN Internet Access!
http://resourcecenter.msn.com/access/plans/default.asp
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?MIEPLLIBMLEEABPDBIEGCEFFCOAA.barbish>
