1CDIST-TYPE__IPTABLES_APPLY(7)        cdist       CDIST-TYPE__IPTABLES_APPLY(7)
2
3
4

NAME

6       cdist-type__iptables_apply - Apply the rules
7

DESCRIPTION

9       This  cdist  type  deploys  an init script that triggers the configured
10       rules and also re-applies them on configuration. Rules are written from
11       __iptables_rule into the folder /etc/iptables.d/.
12
13       It  reads  all  rules from the base folder as rules for IPv4.  Rules in
14       the subfolder v6/ are IPv6 rules.  Rules  in  the  subfolder  all/  are
15       applied to both rule tables. All files contain the arguments for a sin‐
16       gle iptables and/or ip6tables command.
17
18       Rules are applied in the following order: 1. All IPv4 rules 2. All IPv6
19       rules 2. All rules that should be applied to both tables
20
21       The  order  of  the  rules  that  will be applied are definite from the
22       result the shell glob returns, which should be alphabetical.  If  rules
23       must  be  applied  in  a  special order, prefix them with a number like
24       02-some-rule.
25

REQUIRED PARAMETERS

27       None
28

OPTIONAL PARAMETERS

30       None
31

EXAMPLES

33       None (__iptables_apply is used by __iptables_rule automatically)
34

SEE ALSO

36       cdist-type__iptables_rule(7), iptables(8)
37

AUTHORS

39       Nico Schottelius <nico-cdist--@--schottelius.org> Matthias  Stecher  <‐
40       matthiasstecher--@--gmx.de>
41

COPYING

43       Copyright  (C)  2013  Nico  Schottelius.   Copyright  (C) 2020 Matthias
44       Stecher.  You can redistribute it and/or modify it under the  terms  of
45       the  GNU General Public License as published by the Free Software Foun‐
46       dation, either version 3 of the License, or (at your option) any  later
47       version.
48
50       ungleich GmbH 2020
51
52
53
54
556.9.4                            Dec 21, 2020    CDIST-TYPE__IPTABLES_APPLY(7)
Impressum