From owner-freebsd-questions@FreeBSD.ORG Tue Apr 19 08:08:26 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EAE6A16A4CE for ; Tue, 19 Apr 2005 08:08:26 +0000 (GMT) Received: from web51103.mail.yahoo.com (web51103.mail.yahoo.com [206.190.38.145]) by mx1.FreeBSD.org (Postfix) with SMTP id 6476443D41 for ; Tue, 19 Apr 2005 08:08:26 +0000 (GMT) (envelope-from fasi_74@yahoo.com) Received: (qmail 22287 invoked by uid 60001); 19 Apr 2005 08:08:25 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=6Wl4kvNaR1ZGg34TexHzqnXnOmKsgsFWrO8a/y6O6CsupjUsRkAaKKtgBqehRYJP3uW2A5EGHHUWg3NUhbveSKln53ayNtl4ctpryxf7NyHWI6QndYoVR47i4ZWjD1Eq10Z+C7TAmjvAYZ59N7k3qaCdr19kGYclCXlgXEybTfw= ; Message-ID: <20050419080825.22285.qmail@web51103.mail.yahoo.com> Received: from [202.147.160.231] by web51103.mail.yahoo.com via HTTP; Tue, 19 Apr 2005 01:08:25 PDT Date: Tue, 19 Apr 2005 01:08:25 -0700 (PDT) From: faisal gillani To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: NATD server problem on 5.3 ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Apr 2005 08:08:27 -0000 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