From owner-freebsd-questions Tue Feb 7 19:49:13 1995 Return-Path: questions-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id TAA22070 for questions-outgoing; Tue, 7 Feb 1995 19:49:13 -0800 Received: from vinny.cecer.army.mil (vinny.cecer.army.mil [129.229.40.2]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id TAA22032 for ; Tue, 7 Feb 1995 19:49:12 -0800 Received: (from richards@localhost) by vinny.cecer.army.mil (8.6.9/8.6.9) id VAA16796 for questions@freebsd.org; Tue, 7 Feb 1995 21:49:08 -0600 Date: Tue, 7 Feb 1995 21:49:08 -0600 From: Matt Richards Message-Id: <199502080349.VAA16796@vinny.cecer.army.mil> To: questions@FreeBSD.org Subject: Firewall help Sender: questions-owner@FreeBSD.org Precedence: bulk I have been assigned the task of setting up a firewall after a hacker invaded our Suns. I was excited to see that FreeBSD could be setup as a firewall. I compiled the IPFIREWALL configuration after changing it to match the NE2000 NIC's and removing options that are not needed (extra SCSI cards, NIC's, etc.). The firewall works great on the FreeBSD machine, but I can't get the two network cards working together. I can get one NIC ifconfiged and working but when I ifconfig the second it seems to work but I think there is something I'm not doing because the packets are not transfering from one card thru to the other. I have policy set to accept and no chain entries. I also get a strange error when I type 'ipfw l', it gives me an error with kvm_nlist. The gateway option is compiled in the kernel. Routed is running (I tried the -q (default) and then the -s option). I couldn't find any documentation on setting up FreeBSD as a firewall or router. Any information on how to set up a machine as a firewall would be greatly appreciated. Please help... Thanks in advance, Matt.