Date: Tue, 19 Apr 2005 07:44:56 -0400 From: <bob@a1poweruser.com> To: "faisal gillani" <fasi_74@yahoo.com>, <freebsd-questions@freebsd.org> Subject: RE: NATD server problem on 5.3 ? Message-ID: <MIEPLLIBMLEEABPDBIEGOECHHDAA.bob@a1poweruser.com> In-Reply-To: <20050419080825.22285.qmail@web51103.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Saying it's not working is way to vague. You need to post more details about what is not working. Like can the 5.3 server ping the public internet? Can it ping PCs on the LAN? Can a win LAN PC ping the server? What does the firewall log contain? Have you tested with firewall out of the way by having only single rule to pass all packets? /sbin/ipfw -f flush /sbin/ipfw add allow all from any to any -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of faisal gillani Sent: Tuesday, April 19, 2005 4:08 AM To: freebsd-questions@freebsd.org Subject: NATD server problem on 5.3 ? 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 ? *:$., 88,.$:*(((*$ Allah-hu-Akber*:$., 88,.$:*((*$ God is the Greatest __________________________________ Do you Yahoo!? Make Yahoo! your home page http://www.yahoo.com/r/hs _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?MIEPLLIBMLEEABPDBIEGOECHHDAA.bob>