PF rule question

Kimmo Paasiala kpaasial at gmail.com
Mon Oct 14 20:50:15 UTC 2013


On Mon, Oct 14, 2013 at 11:30 PM, Uroš Gruber <uros.gruber at 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


More information about the freebsd-pf mailing list