NATD server problem on 5.3 ?
faisal gillani
fasi_74 at yahoo.com
Tue Apr 19 01:08:27 PDT 2005
Well i recently installed my first natd server on
freebsd 5.3, but its not working ?
here is wat i did ..
1. compiles kernal with the following options
options IPFIREWALL
options IPV6FIREWALL
options IPDIVERT
2. made the following entries in rc.conf
defaultrouter="10.0.0.1"
gateway_enable="YES"
hostname="natserver"
ifconfig_fxp0="inet 192.168.0.1 netmask
255.255.255.0"
ifconfig_xl0="inet 10.0.0.5 netmask 255.255.255.0"
firewall_enable="yes"
natd_enable="yes"
natd_interface="xl0"
natd_flags="-f /etc/natd.conf"
3. made the following entries in rc.firewall
/sbin/ipfw -f flush
/sbin/ipfw add allow all from any to any via fxp0
/sbin/ipfw add allow icmp from any to any out via xl0
/sbin/ipfw add allow all from any to any via lo0
/sbin/ipfw add divert natd ip from any to any via xl0
/sbin/ipfw add allow ip from any to 10.0.0.5 in recv
xl0
/sbin/ipfw add allow ip from 10.0.0.5 to any out xmit
xl0
4. configure the windows clients as follows
ipaddress = 192.168.0.3
subnet = 255.255.255.0
gateway = 192.168.0.1
dns server = 192.168.0.2 "dns server capable of
resolving internet & local address"
this is all that i have done but still interet is not
working on clients , what should i do now ?
*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤
God is the Greatest
__________________________________
Do you Yahoo!?
Make Yahoo! your home page
http://www.yahoo.com/r/hs
More information about the freebsd-questions
mailing list