Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2013 23:50:14 +0300
From:      Kimmo Paasiala <kpaasial@gmail.com>
To:        =?UTF-8?B?VXJvxaEgR3J1YmVy?= <uros.gruber@gmail.com>
Cc:        Darren Pilgrim <list_freebsd@bluerosetech.com>, "freebsd-pf@freebsd.org" <freebsd-pf@freebsd.org>
Subject:   Re: PF rule question
Message-ID:  <CA%2B7WWSc=FO%2BG%2BYWXZeK8TSL8vof6qsGLEgKztj9dZ1nrjBMjCg@mail.gmail.com>
In-Reply-To: <CAHGMo97h8TX17zEsdQD-K6D4bWDnrP_0XUTsz=bJKtCO3-v8cA@mail.gmail.com>
References:  <CAHGMo946%2BZmz1tpn1b=PjLTvSfEa9EMRXKypuyTM7X65yhow1w@mail.gmail.com> <525B41EA.8000501@bluerosetech.com> <CAHGMo96DZT%2BhTjGUibgZy4Q_g_-tJ54oeoRsMWfLZCFvbqnf3w@mail.gmail.com> <CAHGMo97h8TX17zEsdQD-K6D4bWDnrP_0XUTsz=bJKtCO3-v8cA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 14, 2013 at 11:30 PM, Uro=C5=A1 Gruber <uros.gruber@gmail.com> =
wrote:
> Ok, one way of doing it is something like this:
>
> ( pfctl -a jails -sr ; echo "pass on lo0 from 192.0.2.65 to 192.0.2.65" )=
 |
> pfctl -a jails -f -
>
> But still, it's only for add the rule to the anchor. I need to work on
> something for delete the rule :)
>
> Regards
>
> Uros
>
>


You flush rules under an anchor like this:

pfctl -a anchor -F rules

-Kimmo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B7WWSc=FO%2BG%2BYWXZeK8TSL8vof6qsGLEgKztj9dZ1nrjBMjCg>