Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Nov 2001 08:00:46 -0800
From:      "Freddie Cash" <fcash@bigfoot.com>
To:        Lord Raiden <raiden23@netzero.net>, newbies@freebsd.org
Subject:   Re: RC.CONF question
Message-ID:  <3BEA3BAE.32299.A0D9EB8@localhost>
In-Reply-To: <4.2.0.58.20011108070509.009978c0@pop.netzero.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BEA3BAE.32299.A0D9EB8>