1
- [ Back to resource list] ( https://github.com/chef-cookbooks/iptables/tree/master/README.md#resources )
2
-
3
- ---
4
-
5
1
# iptables_chain
6
2
3
+ [ Back to resource list] ( https://github.com/chef-cookbooks/iptables/tree/master/README.md#resources )
4
+
7
5
The ` iptables_chain ` resource can be used to manage configuration of chains for iptables.
8
6
9
7
More information available at < hhttps://linux.die.net/man/8/iptables >
@@ -17,19 +15,19 @@ As this is an accumalator pattern resource not declaring a chain will have it re
17
15
18
16
## Properties
19
17
20
- | Name | Type | Default | Description | Allowed Values |
21
- --------------------------------- | ----------- | -------- | ----------- | -------------- |
22
- | ` config_file ` | ` String ` | The default location on disk of the config file, see resource for details | The full path to find the rules on disk | |
23
- | ` owner ` | ` String ` | ` root ` | Owner of the saved output file | |
24
- | ` group ` | ` String ` | ` root ` | Group of the saved output file | |
25
- | ` mode ` | ` String ` | ` 0644 ` | Permissions on the saved output file | |
26
- | ` template ` | ` source_template ` | ` iptables.erb ` | Source template to use to create the rules | |
27
- | ` cookbook ` | ` String ` | ` iptables ` | Source cookbook to find the template in | |
28
- | ` sensitive ` | ` true, false` | ` false ` | mark the resource as senstive | |
29
- | ` ip_version ` | ` Symbol ` , ` String ` | ` :ipv4 ` | The IP version | ` :ipv4 ` , ` :ipv6 ` |
30
- | ` table ` | ` Symbol ` | ` :filter ` | The table the chain should exist on | ` :filter ` , ` :mangle ` , ` :nat ` , ` :raw ` , ` :security ` |
31
- | ` chain ` | ` Symbol ` | ` nil ` | The name of the Chain | |
32
- | ` value ` | ` String ` | ` ACCEPT [0:0] ` | The default action and the Packets : Bytes count | |
18
+ | Name | Type | Default | Description | Allowed Values |
19
+ | ------------- | ------------------ | -------------- | ------------------------------------------------ | ----------------------------------- -------------- |
20
+ | ` config_file ` | ` String ` | | Platform dependant | The full path to find the rules on disk |
21
+ | ` owner ` | ` String ` | ` root ` | Owner of the saved output file | |
22
+ | ` group ` | ` String ` | ` root ` | Group of the saved output file | |
23
+ | ` mode ` | ` String ` | ` 0644 ` | Permissions on the saved output file | |
24
+ | ` template ` | ` source_template ` | ` iptables.erb ` | Source template to use to create the rules | |
25
+ | ` cookbook ` | ` String ` | ` iptables ` | Source cookbook to find the template in | |
26
+ | ` sensitive ` | ` true, false ` | ` false ` | mark the resource as senstive | |
27
+ | ` ip_version ` | ` Symbol ` , ` String ` | ` :ipv4 ` | The IP version | ` :ipv4 ` , ` :ipv6 ` |
28
+ | ` table ` | ` Symbol ` | ` :filter ` | The table the chain should exist on | ` :filter ` , ` :mangle ` , ` :nat ` , ` :raw ` , ` :security ` |
29
+ | ` chain ` | ` Symbol ` | ` nil ` | The name of the Chain | |
30
+ | ` value ` | ` String ` | ` ACCEPT [0:0] ` | The default action and the Packets : Bytes count | |
33
31
34
32
## Examples
35
33
0 commit comments