Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Feb 2003 19:34:39 +0100
From:      Kjell Midtseter <junkmail@sensewave.com>
To:        Jim Xochellis <dxoch@escape.gr>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Problems with in the ipf setup in an FreeBSD 4.7 router
Message-ID:  <20030221183439.GC1349@tina.la3sg.net>
In-Reply-To: <3E566B12.5DEE5B21@escape.gr>
References:  <3E566B12.5DEE5B21@escape.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, 21 February 2003 at 20:08:17 +0200, Jim Xochellis wrote:
> 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"
Try removing the above line

> 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

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?20030221183439.GC1349>