Révision 2f28cced
Document nftables::simplerule's parameters
manifests/simplerule.pp | ||
---|---|---|
12 | 12 |
# daddr => '2001:1458::/32', |
13 | 13 |
# sport => 541, |
14 | 14 |
# } |
15 |
# |
|
16 |
# @param rulename |
|
17 |
# The symbolic name for the rule to add. Defaults to the resource's title. |
|
18 |
# |
|
19 |
# @param order |
|
20 |
# A number representing the order of the rule. |
|
21 |
# |
|
22 |
# @param chain |
|
23 |
# The name of the chain to add this rule to. |
|
24 |
# |
|
25 |
# @param table |
|
26 |
# The name of the table to add this rule to. |
|
27 |
# |
|
28 |
# @param action |
|
29 |
# The verdict for the matched traffic. |
|
30 |
# |
|
31 |
# @param comment |
|
32 |
# A typically human-readable comment for the rule. |
|
33 |
# |
|
34 |
# @param dport |
|
35 |
# The destination port, ports or port range. |
|
36 |
# |
|
37 |
# @param proto |
|
38 |
# The transport-layer protocol to match. |
|
39 |
# |
|
40 |
# @param daddr |
|
41 |
# The destination address, CIDR or set to match. |
|
42 |
# |
|
43 |
# @param set_type |
|
44 |
# When using sets as saddr or daddr, the type of the set. |
|
45 |
# Use `ip` for sets of type `ipv4_addr`. |
|
46 |
# |
|
47 |
# @param sport |
|
48 |
# The source port, ports or port range. |
|
49 |
# |
|
50 |
# @param counter |
|
51 |
# Enable traffic counters for the matched traffic. |
|
15 | 52 |
|
16 | 53 |
define nftables::simplerule ( |
17 | 54 |
Enum['present','absent'] $ensure = 'present', |
Formats disponibles : Unified diff