vladone wrote:

Hi!
I want to use table directive in pf.conf, but not work
My pf.conf is:

My pf.conf is: (and with attachament)
ext_if="rl0"    # replace with actual external interface name i.e., dc0
int_if="fxp0"   # replace with actual internal interface name i.e., dc1

table <list1> { 192.0.2.0/24 }

I try to load pf.conf:
#pfctl -e -f /etc/pf.conf
pf enabled
#pfctl -T show -t list1
pfctl: Table does not exist.

If i use pfctl to add entry in table, work.
#pfctl -t list1 -T add 192.168.2.0/24
1 table created.
1/1 addresses added.
#pfctl -T show -t list1
192.168.2.0/24

Another observation:
If i make an intentional mistake in pf.conf and then try to load file,
i receive an error. So file is loaded.

Where is the problem?


Which OpenBSD version you use?

Reply via email to