1CDIST-TYPE__PF_RULESET(7) cdist CDIST-TYPE__PF_RULESET(7)
2
3
4
6 cdist-type__pf_ruleset - Copy a pf(4) ruleset to $__target_host
7
9 This type is used on *BSD systems to manage the pf firewall's ruleset.
10
12 state Either "absent" (no ruleset at all) or "present", defaults to
13 "present".
14
16 source If supplied, use to define the ruleset to load onto the $__tar‐
17 get_host for pf(4). Note that this type is almost useless with‐
18 out a ruleset defined, but it's technically not needed, e.g. for
19 the case of disabling the firewall temporarily.
20
22 # Remove the current ruleset in place
23 __pf_ruleset --state absent
24
25 # Enable the firewall with the ruleset defined in $__manifest/files/pf.conf
26 __pf_ruleset --state present --source $__manifest/files/pf.conf
27
29 pf(4)
30
32 Jake Guffey <jake.guffey--@--eprotex.com>
33
35 Copyright (C) 2012 Jake Guffey. You can redistribute it and/or modify
36 it under the terms of the GNU General Public License as published by
37 the Free Software Foundation, either version 3 of the License, or (at
38 your option) any later version.
39
41 ungleich GmbH 2019
42
43
44
45
466.4.0 Jan 04, 2020 CDIST-TYPE__PF_RULESET(7)