2016-05-20 06:50:56 +00:00
|
|
|
cdist-type__pf_apply(7)
|
|
|
|
=======================
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2016-06-23 14:08:59 +00:00
|
|
|
cdist-type__pf_apply - Apply pf(4) ruleset on \*BSD
|
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
This type is used on \*BSD systems to manage the pf firewall's active ruleset.
|
|
|
|
|
|
|
|
|
|
|
|
REQUIRED PARAMETERS
|
|
|
|
-------------------
|
|
|
|
NONE
|
|
|
|
|
|
|
|
|
|
|
|
OPTIONAL PARAMETERS
|
|
|
|
-------------------
|
|
|
|
NONE
|
|
|
|
|
|
|
|
|
|
|
|
EXAMPLES
|
|
|
|
--------
|
|
|
|
|
|
|
|
.. code-block:: sh
|
|
|
|
|
|
|
|
# Modify the ruleset on $__target_host:
|
|
|
|
__pf_ruleset --state present --source /my/pf/ruleset.conf
|
|
|
|
require="__pf_ruleset" \
|
|
|
|
__pf_apply
|
|
|
|
|
|
|
|
# Remove the ruleset on $__target_host (implies disabling pf(4):
|
|
|
|
__pf_ruleset --state absent
|
|
|
|
require="__pf_ruleset" \
|
|
|
|
__pf_apply
|
|
|
|
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
2016-06-30 10:09:07 +00:00
|
|
|
:manpage:`pf`\ (4), :manpage:`cdist-type__pf_ruleset`\ (7)
|
2016-06-17 19:28:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
AUTHORS
|
|
|
|
-------
|
|
|
|
Jake Guffey <jake.guffey--@--eprotex.com>
|
2016-05-20 06:50:56 +00:00
|
|
|
|
|
|
|
|
|
|
|
COPYING
|
|
|
|
-------
|
|
|
|
Copyright \(C) 2012 Jake Guffey. Free use of this software is
|
|
|
|
granted under the terms of the GNU General Public License version 3 (GPLv3).
|