From owner-freebsd-newbies Thu Nov 8 8: 1:12 2001 Delivered-To: freebsd-newbies@freebsd.org Received: from ocis.ocis.net (ocis.ocis.net [209.52.173.1]) by hub.freebsd.org (Postfix) with ESMTP id EFC8C37B41B for ; Thu, 8 Nov 2001 08:01:08 -0800 (PST) Received: from darkside (dial-148.ocis.net [209.52.175.138]) by ocis.ocis.net (8.9.3/8.9.3) with ESMTP id IAA11911; Thu, 8 Nov 2001 08:01:04 -0800 From: "Freddie Cash" Organization: PhoenixTek Consulting To: Lord Raiden , newbies@freebsd.org Date: Thu, 8 Nov 2001 08:00:46 -0800 MIME-Version: 1.0 Subject: Re: RC.CONF question Reply-To: fcash@bigfoot.com Message-ID: <3BEA3BAE.32299.A0D9EB8@localhost> In-reply-to: <4.2.0.58.20011108070509.009978c0@pop.netzero.net> X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Quick question. Having to setup a BSD box as a firewall on my lan First, this is not the appropriate list for asking technical questions. That would be the freebsd-questions mailing list. This list is a discussion forum for newbies to talk about their good/bad experiences with FreeBSD. > and for > some silly reason I can't get it to move data. My rc.conf has the > correct Ip and subnet mask, so I know it's not those, and under > regular circumstances it always worked via DHCP, and the internal lan > card works beautiful and has the correctly specified Ip and subnet > mask. Now here's the catch. My only thought as to why this is doing > this is that the gateway is missing on the designation. If I have > something like this in the rc.conf file, what else am I missing to get > a connection via our dsl modem which is on a static IP? > ifconf_rl0 = "inet xx.xx.xx.xx netmask 255.255.255.0" It's ifconfig_rl0. Have you looked at the ouput of ifconfig to be sure that the correct settings are being configured? Do you also have GATEWAY_ENABLE="YES" in your rc.conf? If not, then no traffic will pass between the internal and external NICs. Have you compiled in the appropriate firewall modules/setting into your kernel? You didm't specify whether you are running ipfw/natd or ipfilter/ipnat. > I know I'm missing something. Anyone got any ideas? IF I am missing > > something, what do I need in there and how do I enter it? Have you read the ipfw, natd, ipfilter, and/or the ipnat man pages? Have you read through /etc/defaults/rc.conf to see what all the options and arguments are? Have you read the FreeBSD Handbook located online and on your system? Have you searched the mailing list archives to see if this problem has come up before (it has) and what the solution was? Cheers, Freddie PhoenixTek Consulting fcash@bigfoot.com Unix / Networking Services (250) 314-4029 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message