Hi!
I tried a simple ping to the IP address of the nameserver and am getting
this:
# ping 66.135.144.2
PING 66.135.144.2 (66.135.144.2): 56 data bytes
ping: sendto: No route to host
I looked at my /etc/rc.conf and there's only one line related to router or
What you want is the defaultrouter -- That tells the system where packets
should be directed that aren't for the local LAN. (IE: anything not in
192.168.x.x)
in rc.conf, add:
defaultrouter=0.0.0.0
change 0.0.0.0 to point to the SMC Router's IP (It's acting as a gateway
for your network, if
I added that link to /etc/rc.conf. Is there a way to reload this file
without rebooting?
Not AFAIK. You can get the same result by manually loading the route:
route add default 0.0.0.0
where 0.0.0.0 is the SMC router's IP addy.
That worked!! I added the route to my SMC router and now DNS
: Re: Can't connect to DNS servers -- Firewall prob?
I added that link to /etc/rc.conf. Is there a way to reload this file
without rebooting?
Not AFAIK. You can get the same result by manually loading the route:
route add default 0.0.0.0
where 0.0.0.0 is the SMC router's IP addy
Make sure your box has permission to connect /to/ these systems. The rules
below allow the DNS servers to send things *to* your box, but don't allow
your box to send things TO those servers. You need to give
your box the ability to send the request /out/ to them in the first place.
The hostname
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
[EMAIL PROTECTED]
To: C KH [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: Can't connect to DNS servers -- Firewall prob?
Date: Tue, 29 Oct 2002 13:57:08 -0500 (EST)
Make sure your box has permission to connect /to/ these systems. The rules
below allow the DNS servers to send things *to* your box
Actually I neglected to mention I also have this rule:
# Allow all traffic from internal lan
$fwcmd add allow all from 192.168.0.0/16 to any
How is this box configured?
If it's setup to act as a gateway:
LOCAL_LAN (192.168.x.x) Interface A
Okay, I think I follow your setup here. Have you tried allow any from any
-- just to see if it works? I'm wondering if it might not be another
setting causing the problem -- What's your gateway set to on the FreeBSD
box? Usually its the defaultrouter variable in rc.conf.
Okay, i took your