PF Tables with persist do not exist

Hi!

I have this in my pf.conf (snippet)

Code:
[...]
table <intranet> { 192.168.178.0/24 192.168.178.0/24 10.8.0.0/24 10.8.0.0/24 192.168.1.0/24 192.168.1.0/24 }
table <smartnet> { 192.168.10.0/24 192.168.10.0/24 }
table <blocklist> persist file "/bla/blocklist_pf"
[...]



If I load the configuration with pfctl -f /etc/pf.conf, followed by a pfctl -F all, the tables do not exist:

Code:
pfctl -t blocklist -T show
pfctl: Table does not exist.

Same with intranet or smartnet. A pfctl -vnf /etc/pf.conf shows no errors.

Obviously, rules using the tables are not working.

What am I missing here?
 
I missed that flush removes tables, even when they have the persist flag. I find this counter-intuitive. However, solved.
 
Back
Top