.\" Man page generated from reStructuredText. . .TH "CDIST-TYPE__PF_APPLY" "7" "Feb 16, 2019" "4.10.6" "cdist" . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH NAME .sp cdist\-type__pf_apply \- Apply pf(4) ruleset on *BSD .SH DESCRIPTION .sp This type is used on *BSD systems to manage the pf firewall\(aqs active ruleset. .SH REQUIRED PARAMETERS .sp NONE .SH OPTIONAL PARAMETERS .sp NONE .SH EXAMPLES .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C # Modify the ruleset on $__target_host: __pf_ruleset \-\-state present \-\-source /my/pf/ruleset.conf require="__pf_ruleset" \e __pf_apply # Remove the ruleset on $__target_host (implies disabling pf(4): __pf_ruleset \-\-state absent require="__pf_ruleset" \e __pf_apply .ft P .fi .UNINDENT .UNINDENT .SH SEE ALSO .sp \fBpf\fP(4), \fBcdist\-type__pf_ruleset\fP(7) .SH AUTHORS .sp Jake Guffey <\fI\%jake.guffey\-\-@\-\-eprotex.com\fP> .SH COPYING .sp Copyright (C) 2012 Jake Guffey. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. .\" Generated by docutils manpage writer. .