pf table replace and firewalls-pf.html

Jeremy C. Reed reed at reedmedia.net
Wed Aug 12 19:12:00 UTC 2015


I was reading https://www.freebsd.org/doc/handbook/firewalls-pf.html
and it says:

-=-=-=-=-=-=-=
 Alternatively, /etc/clients can be updated with the in-memory table 
contents:

# pfctl -t clients -T replace -f /etc/clients
-=-=-=-=-=-=-=

That is confusing and seems to imply that the file is created (or 
updated) from the in-memory table. But actually it is the other way.
This could say:

-=-=-=-=-=-=-=
 The in-memory table can be updated from a file, for example:

# pfctl -t clients -T replace -f /etc/clients
-=-=-=-=-=-=-=

Note I am not on this list.


More information about the freebsd-doc mailing list