Hello
I have a little problem with dns resolving from my local computer that
is connected via a gateway using natd.
First some info! :)
This is how the computers are connected to each other
Windows2k -(xl0)-> FreeBSD 4-STABLE -(ed1)-> Internet
Windows2k=192.168.1.2
FreeBSD=192.168.1.1
I'm using a cable modem with dynamic IP (It doesn't change until I
reset the modem) through a Ethernet compatible card (device = ed1). The
Windows2k computer is connected with a 3com905b (device = xl0)...
Now to the problem! I've installed natd and its working excellent as a
gateway except one thing, the Windows2k computer cant resolv dynamic IP
adresses (like www.blahblah.com), only clean IP (ex. 1.2.3.4.) - can't
be too specific! :) It IS possible to ping computers outside the local
network with the Windows2k computer.
Thats the problem. I'm not very experienced with FreeBSD and networking
yet so I have no clue what it could be. I would be very glad if someone
could find a solution to my problem.
Here is some config files:
------------------------------------
rc.conf: (snapped)
firewall_enable="YES"
firewall_script="/etc/rc.firewall"
natd_program="/sbin/natd"
natd_enable="YES"
natd_interface="ed1"
natd_flags="-f /etc/rc.natd"
-------------------------------------
rc.firewall:
/sbin/ipwf -f flush
/sbin/ipwf add divert natd all from any to any via ed1
/sbin/ipwf add pass all from any to any
-------------------------------------
rc.natd:
log no
deny_incoming no
use_sockets no
same_ports yes
verbose no
unregistered_only no
dynamic yes
-------------------------------------
Sent via Deja.com http://www.deja.com/
Before you buy.