Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2001 14:47:56 +0000
From:      Douglas C.Garrick <douggarrick@sweetwaterhsa.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Kernel Build for a firewall / gateway
Message-ID:  <01021115192001.05318@mugwump_douggarrick>

next in thread | raw e-mail | index | archive | help
I'm not sure what I am doing wrong with this thing so I'm asking for some help.
 ( I hope this is actually a hard problem and not something really easy that I
should have caught sooner this.)  So thanks in advance for your time and help )

Here's the situation.   I just got a cable modem.   I want to build a machine
that will forward internet traffic from the rest of my home network..  

The machine is a pretty standard clone.  Asus P5 166 mhz MB,  64 Mbytes of ram,
Quantum IDE/ATA disk drive, SONY IDE/ATA cdrom, no floppies.  

Here's what I am doing for the network.  I have a 3com 3c509b on the private
side and a 3com 3c905xl on the public side.   Both of these interfaces come up
and are available to their respective networks.   

I have enabled routed,  natd,  and ipfirewall in /etc/rc.conf.   I have added
options for IPFIREWALL and IPDIVERT to ../i386/conf/config-file.   I do not
enable IPv6 support anywhere. 

I cannot get this kernel to compile to save my life.   

Here's what I've done to this point.  I've tried building the
kernel with the "config config-file' method to no avail.   "Config" works fine, 
"make depend" works fine,  then "make"  always fails with a syntax error. 
Thinking that it may be dependency or probe order issue I'll check the config
file and try again.  The next time through I'll get a syntax error at a
different *c file.  I then figured that I should try /usr/src/make world,   make
buildkernel,  make installkernel method.   That fails with a syntax error(s)
like the other method.     It actually seems like it's a compliler error rather
than a code error.  hmm... is this a compatibliity thing?

I've done several FreeBSD systems with nothing but great success.  I use them
for ppp routers and www servers and just general workstations but now my
teenage  daughter ( whose life depends on the availability of instant messaging
on the computer in her room ) is starting to question my ability.


Doug Garrick
douggarrick@sweetwaterhsa.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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