From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 22:20:35 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 8E77C16A4CE for ; Tue, 16 Mar 2004 22:20:35 -0800 (PST) Received: from dyer.circlesquared.com (host217-45-219-83.in-addr.btopenworld.com [217.45.219.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59F7743D1D for ; Tue, 16 Mar 2004 22:20:32 -0800 (PST) (envelope-from peter@circlesquared.com) Received: from circlesquared.com (localhost.petanna.net [127.0.0.1]) i2H6PC1J003981; Wed, 17 Mar 2004 06:25:23 GMT (envelope-from peter@circlesquared.com) Message-ID: <4057EF48.8010005@circlesquared.com> Date: Wed, 17 Mar 2004 06:25:12 +0000 From: Peter Risdon User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5b) Gecko/20031102 X-Accept-Language: en-us, en MIME-Version: 1.0 To: webmaster@jargonccna.cjb.net References: <4057BA40.5030701@jargonccna.cjb.net> In-Reply-To: <4057BA40.5030701@jargonccna.cjb.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: 4.4-RELEASE as a NAT/gateway 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: Wed, 17 Mar 2004 06:20:35 -0000 Matt Coe, CCNA wrote: > Hey, I'm having some issues convincing my old Pentium 90 to behave as > a basic NAT box and gateway.. I've been a CCNA for nearly three years > now and I still haven't had a chance to properly play with other > people's networks, so I'm trying to make my own... but to no avail. I > downloaded the 5.x manual to help me set up the config files and > install the appropriate ports, but the machine doesn't seem to want to > forward packets. ipfw kicks in fine, natd seems to kick in fine.. I > can hand-boot routed and that seems to behave properly.. but nothing > goes from dc0 to rl0, for some reason beyond me. Here's a snippet of > my rc.conf if it helps: > > ifconfig_rl0="DHCP" > ifconfig_dc0="inet 192.168.0.1 netmask 255.255.255.0" > gateway_enable=YES > natd_enable=YES > natd_interface=rl0 > natd_flags="" > firewall_enable=YES > firewall_type=OPEN > > Is there any thing wrong with those lines? I could type out my entire > rc.conf if it's necessary... Anyone else have similar problems? > You don't mention re-compiling your kernel. Have you added at least the lines: options IPFIREWALL options IPDIVERT and recompiled? PWRW.