From owner-freebsd-questions Fri Feb 21 10: 9:13 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F88937B401 for ; Fri, 21 Feb 2003 10:09:12 -0800 (PST) Received: from hypernet.hyper.net (hypernet.hyper.net [193.218.1.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8E2A43F75 for ; Fri, 21 Feb 2003 10:09:09 -0800 (PST) (envelope-from dxoch@escape.gr) Received: from escape.gr (bus.hyper.gr [193.218.2.30]) by hypernet.hyper.net (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with ESMTP id h1LIM5R15173 for ; Fri, 21 Feb 2003 20:22:10 +0200 Message-ID: <3E566B12.5DEE5B21@escape.gr> Date: Fri, 21 Feb 2003 20:08:17 +0200 From: Jim Xochellis Organization: ESCAPE Services X-Mailer: Mozilla 4.78 (Macintosh; U; PPC) X-Accept-Language: en,fr,el MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Problems with in the ipf setup in an FreeBSD 4.7 router Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi List, I have a FreeBSD 4.7(i386) Release router I am trying to make it run with the ipf firewall on. I have compiled and installed a new kernel with ipf support and then I put the following lines inside my rc.conf file: ... ipfilter_enable="YES" ipfilter_program="/sbin/ipf -Fa -f" ipfilter_rules="/etc/ipf.rules" ipfilter_flags="" ... The problem is that, when I boot, ipf does not work. It seems like is not using the rules. If I enter "ipf -Fa -f /etc/ipf.rules" from the command line, then it starts working as expected. What do I have to do to make ipf start automatically on boot? Any tips or pointers to manuals will be greatly appreciated. TIA, Jim Xochellis Escape Information Services P.S.Note that I am running with security level set to 2. (I also tried running with security level set to 1 and -1 without any luck.) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message