On Sat, Jul 15, 2006 at 05:48:06PM +0300, Soner Tari wrote:
> 
> I have time-based pf rules using cron and anchors (such as to restrict
> HTTP access after hours). But as you can guess, they do not survive a
> reboot. Is there any solution?

There are probably a lot of solutions...

Have your cron job copy the current anchor rules to pf-current.conf,
then add pfctl -f pf-current.conf to rc.local.

-- 
Darrin Chandler            |  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |

Reply via email to