pfctl -t private_ips -vTshow
Max Laier
max at love2party.net
Thu Dec 16 03:14:10 PST 2004
On Thursday 16 December 2004 09:05, sam wun wrote:
> Hi
>
> The following pfctl command returns error
>
> # pfctl -t private_ips -vTshow
> pfctl: Table does not exist.
>
> The table optin is defined in he pf.conf as shown below:
> table <private_ips> { 10.0.0.0/8, !10.1.0.0/16, 192.168.0.0/24,
> 192.168.1.18 }
>
> Have I used incorrect syntax?
From pf.conf(5):
| persist The persist flag forces the kernel to keep the table even when
| no rules refer to it. If the flag is not set, the kernel will
| automatically remove the table when the last rule referring to
| it is flushed.
i.e. if you don't have a rule using the table pf will trow it away unless you
define the table as persist(ent) as in:
table <private_ips> persistent { ... }
--
/"\ Best regards, | mlaier at freebsd.org
\ / Max Laier | ICQ #67774661
X http://pf4freebsd.love2party.net/ | mlaier at EFnet
/ \ ASCII Ribbon Campaign | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-pf/attachments/20041216/954186b7/attachment.bin
More information about the freebsd-pf
mailing list