From owner-freebsd-questions@FreeBSD.ORG Tue Apr 19 11:45:02 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 C5BFD16A4CE for ; Tue, 19 Apr 2005 11:45:02 +0000 (GMT) Received: from mta13.adelphia.net (mta13.adelphia.net [68.168.78.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE47C43D5C for ; Tue, 19 Apr 2005 11:45:01 +0000 (GMT) (envelope-from bob@a1poweruser.com) Received: from barbish ([69.172.31.81]) by mta13.adelphia.net (InterMail vM.6.01.04.01 201-2131-118-101-20041129) with SMTP id <20050419114501.LAWA4618.mta13.adelphia.net@barbish>; Tue, 19 Apr 2005 07:45:01 -0400 From: To: "faisal gillani" , Date: Tue, 19 Apr 2005 07:44:56 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <20050419080825.22285.qmail@web51103.mail.yahoo.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Importance: Normal Subject: RE: NATD server problem on 5.3 ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: bob@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Apr 2005 11:45:02 -0000 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"