You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.markdown
+16
Original file line number
Diff line number
Diff line change
@@ -467,6 +467,10 @@ If Puppet is managing the iptables or iptables-persistent packages, and the prov
467
467
468
468
*`ctstate`: Matches a packet based on its state in the firewall stateful inspection table, using the conntrack module. Valid values are: 'INVALID', 'ESTABLISHED', 'NEW', 'RELATED'. Requires the `state_match` feature.
469
469
470
+
*`date_start`: Start Date/Time for the rule to match, which must be in ISO 8601 "T" notation. The possible time range is '1970-01-01T00:00:00' to '2038-01-19T04:17:07'
471
+
472
+
*`date_stop`: End Date/Time for the rule to match, which must be in ISO 8601 "T" notation. The possible time range is '1970-01-01T00:00:00' to '2038-01-19T04:17:07'
473
+
470
474
*`destination`: The destination address to match. For example: `destination => '192.168.1.0/24'`. You can also negate a mask by putting ! in front. For example: `destination => '! 192.168.2.0/24'`. The destination can also be an IPv6 address if your provider supports it.
471
475
472
476
For some firewall providers you can pass a range of ports in the format: 'start number-end number'. For example, '1-1024' would cover ports 1 to 1024.
@@ -525,6 +529,8 @@ If Puppet is managing the iptables or iptables-persistent packages, and the prov
525
529
526
530
If you set both `accept` and `jump` parameters, you will get an error, because only one of the options should be set. Requires the `iptables` feature.
527
531
532
+
*`kernel_timezone`: Use the kernel timezone instead of UTC to determine whether a packet meets the time regulations.
533
+
528
534
*`limit`: Rate limiting value for matched packets. The format is: 'rate/[/second/|/minute|/hour|/day]'. Example values are: '50/sec', '40/min', '30/hour', '10/day'. Requires the `rate_limiting` feature.
529
535
530
536
*`line`: Read-only property for caching the rule line.
@@ -535,6 +541,8 @@ If Puppet is managing the iptables or iptables-persistent packages, and the prov
535
541
536
542
*`mask`: Sets the mask to use when `recent` is enabled. Requires the `mask` feature.
537
543
544
+
*`month_days`: Only match on the given days of the month. Possible values are '1' to '31'. Note that specifying 31 will of course not match on months which do not have a 31st day; the same goes for 28- or 29-day February.
545
+
538
546
*`name`: The canonical name of the rule. This name is also used for ordering, so make sure you prefix the rule with a number. For example:
Note that you specify flags in the order that iptables `--list` rules would list them to avoid having Puppet think you changed the flags. For example, 'FIN,SYN,RST,ACK SYN' matches packets with the SYN bit set and the ACK, RST and FIN bits cleared. Such packets are used to request TCP connection initiation. Requires the `tcp_flags` feature.
670
678
679
+
*`time_contiguous`: When time_stop is smaller than time_start value, match this as a single time period instead distinct intervals.
680
+
681
+
*`time_start`: Start time for the rule to match. The possible time range is '00:00:00' to '23:59:59'. Leading zeroes are allowed (e.g. '06:03') and correctly interpreted as base-10.
682
+
683
+
*`time_stop`: End time for the rule to match. The possible time range is '00:00:00' to '23:59:59'. Leading zeroes are allowed (e.g. '06:03') and correctly interpreted as base-10.
684
+
671
685
*`todest`: When using `jump => 'DNAT'`, you can specify the new destination address using this parameter. Requires the `dnat` feature.
672
686
673
687
*`toports`: For DNAT this is the port that will replace the destination port. Requires the `dnat` feature.
*`uid`: UID or Username owner matching rule. Accepts a string argument only, as iptables does not accept multiple uid in a single statement. Requires the `owner` feature.
680
694
695
+
*`week_days`: Only match on the given weekdays. Possible values are 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'.
0 commit comments