From 5b053f0d1139888b28fa41d43e99ae167b8cc03b Mon Sep 17 00:00:00 2001 From: Ken Barber Date: Fri, 16 Mar 2012 10:11:03 -0700 Subject: [PATCH] (#10162) Fix examples for firewallchain in README --- README.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index b80d292..bbef110 100644 --- a/README.markdown +++ b/README.markdown @@ -105,7 +105,7 @@ Creating a new rule that forwards to a chain, then adding a rule to this chain: firewall { '100 forward to MY_CHAIN': chain => 'INPUT', jump => 'MY_CHAIN', - require => Firewallchain["filter:MY_CHAIN:IPv4"], + require => Firewallchain["MY_CHAIN:filter:IPv4"], } # The namevar here is in the format chain_name:table:protocol firewallchain { 'MY_CHAIN:filter:IPv4': @@ -116,6 +116,7 @@ Creating a new rule that forwards to a chain, then adding a rule to this chain: action => 'accept', proto => 'tcp', dport => 5000, + require => Firewallchain["MY_CHAIN:filter:IPv4"], } You can make firewall rules persistent with the following iptables example: -- 2.45.2