# [EMAIL PROTECTED] / 2003-02-21 20:08:17 +0200: > 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=""
remove the three lines above, leaving only ipfilter_enable="YES" in rc.conf. > 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. if you look at /etc/rc.network you'll see why: ${ipfilter_program:-/sbin/ipf} -Fa -f \ "${ipfilter_rules}" ${ipfilter_flags} your settings make it: /sbin/ipf -Fa -f -Fa -f /etc/ipf.rules -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message