Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Aug 2001 15:23:01 +0200
From:      "Alfatrion" <alfatrion@cybertron.tmfweb.nl>
To:        <kmidtset@c2i.net>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: ipfilter ignores /etc/ipf.rules at boot
Message-ID:  <003b01c11db1$c7efc140$231fa8c0@kruijff>
References:  <3B6D4609.11015.1A8AE39@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
> From:           "Alfatrion" <alfatrion@cybertron.tmfweb.nl>
> To:             <kmidtset@c2i.net>, <freebsd-questions@FreeBSD.ORG>
> Subject:        Re: ipfilter ignores /etc/ipf.rules at boot
> Date sent:      Sun, 5 Aug 2001 13:32:30 +0200
>
> > ----- Original Message -----
> > From: "Kjell" <kmidtset@c2i.net>
> > To: <freebsd-questions@FreeBSD.ORG>
> > Sent: Sunday, August 05, 2001 9:01 AM
> > Subject: ipfilter ignores /etc/ipf.rules at boot
> >
> >
> > > List members!
> > >
> > > I have built a firewall using the
> > > "How to Build a FreeBSD-STABLE Firewall IPFILTER" howto.
> > >
> > > dmesg shows: IP filter initialized, default = block all, Logging =
enabled
> > > and farther down: IP filter already initialized
> > >
> > > The ipfstat command shows: empty list for ipfilter (in/out)
> > >
> > > Any hints on how things should be set up so the rules in the
> > > "/etc/ipf.rules" file should be read?
> > >
> > > Thanks and regards from Kjell (LA3SG)
> > >
> > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > with "unsubscribe freebsd-questions" in the body of the message
> > >
> >
> > I had the exact same thing. With me it was because i linked the file to
an
> > other place.
> >
> > Alex
> >
> Thanks Alex!
> But where did you set up the link? The documentation says that
> /etc/ipf.rules is the default...
> Kjell
>
I did this:

mv /etc/ipf.rules /home/ipf.rules
ln -s /home/ipf.rules /etc/ipf.rules

After i removed this thing worked fine.

I also needed to add this to my rc.conf
ipfilter_enable="YES"
ipfilter_flags=""

Alex


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?003b01c11db1$c7efc140$231fa8c0>