From owner-freebsd-questions@FreeBSD.ORG Sun Jun 20 21:47:42 2004 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 2539616A4CE for ; Sun, 20 Jun 2004 21:47:42 +0000 (GMT) Received: from www.wcborstel.nl (wcborstel.demon.nl [82.161.134.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 655D243D45 for ; Sun, 20 Jun 2004 21:47:41 +0000 (GMT) (envelope-from jorn@wcborstel.nl) Received: from [127.0.0.1] (unknown [192.168.2.110]) by www.wcborstel.nl (Postfix) with ESMTP id 2AADF809D; Sun, 20 Jun 2004 23:47:53 +0200 (CEST) Message-ID: <40D605FA.5030903@wcborstel.nl> Date: Sun, 20 Jun 2004 23:47:38 +0200 From: Jorn Argelo User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alison Lloyd References: <1854.81.100.118.162.1087766178.squirrel@81.100.118.162> In-Reply-To: <1854.81.100.118.162.1087766178.squirrel@81.100.118.162> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: wierd router crashes... 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: Sun, 20 Jun 2004 21:47:42 -0000 Alison Lloyd wrote: >Hiya > >I'm trying to get a FreeBSD box set up as a router between my cable >internet connection and my home LAN. I'm using a Compaq Professional >Workstation 5000 (yes, the Pentium Pro thingy), which I've installed an >extra NIC into. The output from uname -a is: > >FreeBSD gorgonzola 4.9-RELEASE FreeBSD 4.9-RELEASE #1: Thu May 20 23:35:28 >BST 2004 root@gorgonzola:/usr/obj/usr/src/sys/GORGONZOLA i386 > >I'm using 4.9 because 5.2.1 refuses to find any harddrives (IDE or SCSI), >incidently. I've recompiled the original kernel to include ipfw support. >My firewall ruleset is: > >add 10000 divert 8668 ip from any to any via tl0 >add 60000 allow ip from any to any >add 11010 allow tcp from any to any established >add 11100 deny log tcp from any to tl0 > >where tl0 is the external interface and rl0 is the internal one. I've got >everything up and running, got the external interface registered with my >ISP, and can connect to the internet fine (http, ftp, ports all work). >I've set the box up to DHCP for its external IP (which it does fine), and >to use 192.168.1.1 for the internal one. > >The problems come in when I try to use a machine on the internal LAN - the >router locks solid - no response to anything at all. It passes a few >packets to start with, but then dies. After reboot, there are no >suspicious entries in the logs, at least none that I can find. So long as >I don't do anything on the internal LAN, everything runs perfectly! > >I've tried disabling all extraneous things (sendmail, etc.), to no avail. >I'm not sure what to try next, as I'm fairly new to FreeBSD and firewalls >/ routers in general. > >Heeeeeeeelp! > Alison > >_______________________________________________ >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" > >. > > > What are you using to let your internal LAN connect to the outside world? Are you using a proxy server or natd or something else? If you're using natd, do make sure that you're routing it to the right NIC (Your external NIC to your ISP should be in the natd_interface section at /etc/rc.conf) If that's not the case, I can't really think of something else. You're saying that 5.2.1 is not able to locate your harddrive at all? And you just have a simple ATA controller with nothing else? It should be working just fine then. Perhaps that your installation media was bad or there is a hardware problem with your machine. I never seen 5.2.1 not being able to detect a proper working IDE drive. Cheers, Jorn