From owner-freebsd-questions Sun Feb 6 22:59:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from quark.pioneernet.net (pop3.pioneernet.net [208.240.196.25]) by builder.freebsd.org (Postfix) with ESMTP id 6979C3E2C for ; Sun, 6 Feb 2000 22:59:46 -0800 (PST) Received: from wiegand.org (sb26.pioneernet.net [208.194.173.26]) by quark.pioneernet.net with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id 1M3VCNSF; Sun, 6 Feb 2000 23:00:26 -0800 Message-ID: <389D1F1A.294E659E@wiegand.org> Date: Sat, 05 Feb 2000 23:13:30 -0800 From: Chip Wiegand X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.9-19mdk i486) X-Accept-Language: en MIME-Version: 1.0 To: questions@freebsd.org Subject: rc.firewall problem Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I set up ipfirewall exactly as specified in The complete FreeBSD 3.3 book for the 'simple' firewall profile. First problem was when I rebooted I got a message about a line in the rc.firewall that wasn't recognized - it didn't like ' elif [..... etc]; then ' (page 504), and I got prompt that the system couldn't find the path to the shell, I had to enter it or hit enter. I did. Then edited rc.firewall and removed the ' el ' from 'elif' - but that resulted in a message about the script being incomplete. And of course I got the same prompt again, then edited rc.firewall again and added ' fi ' to the end of it, thinking that might be what it needed to finish the script. But that resulted in a message about a unterminated string, and the shell prompt again. Of course I can't access the internet or any pc's on my homenet, can't even ping localhost. I configured the kernel for firewall, did everything the book says to do, it just ain't workin'. I would like to use this to replace a linux firewall and run apache (which is working, btw). Chip W. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message