From owner-freebsd-questions Sun Feb 20 20:33:41 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id E774037BA8C for ; Sun, 20 Feb 2000 20:33:33 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id XAA00537; Sun, 20 Feb 2000 23:20:50 -0500 (EST) (envelope-from cjc) Date: Sun, 20 Feb 2000 23:20:50 -0500 From: "Crist J. Clark" To: John Purser Cc: cjclark@home.com, questions@FreeBSD.ORG Subject: Re: Setting up a Gateway to @home - Newbie VERY confused Message-ID: <20000220232050.A388@cc942873-a.ewndsr1.nj.home.com> Reply-To: cjclark@home.com References: <20000220162251.C36373@cc942873-a.ewndsr1.nj.home.com> <000001bf7bf0$e9a16820$40390918@vncvr1.wa.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <000001bf7bf0$e9a16820$40390918@vncvr1.wa.home.com>; from johnmpurser@home.com on Sun, Feb 20, 2000 at 02:22:01PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Feb 20, 2000 at 02:22:01PM -0800, John Purser wrote: > Christ, > > Thanks for the help. I followed your instruction and here is what has > happened so far: > > I had to change the ipfw line to: > ipfw add 100 divert NATD all FROM any to any via fxp1 (CAPS being upper > case versions of my additions) Yeah, I didn't do a very good proof-read of that mail, huh? > I edited the rc.conf but the ipfw rules still don't come up on reboot. > Should the firewall_type option = OPEN instead of open? Well, the line in the stock rc.firewall is, # Prototype setups. if [ "${firewall_type}" = "open" -o "${firewall_type}" = "OPEN" ]; then So either should be fine. What does your rc.conf look like at this point? What is the output of 'ipfw show'? And toss in the output of 'ps p `cat /var/run/natd.pid`' to make sure that is running. > When I enter "ping yahoo.com" nothing happens, not even the command prompt > until I hit control C. > > You were right about sysinstall. It had created 5 versions of my network > cards in rc.conf which tells you how long I've been poking at this. > > Any other ideas? I don't know where to go from here. There are a lot of ways to go here. Use 'ifconfig -a' to check all of the interfaces are up and addressed apropriately. Check out 'netstat -rn' to make sure that your routing table is set up right, and then you can always do 'tcpdump -i ' to see exactly what packets might be coming or going. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message