@@ -143,10 +143,11 @@ specified to make the jump conditional. For example:
143
143
The rules specified under the ` rule ` attribute will only be evaluate for packets for which
144
144
the rule in ` chain_condition ` holds.
145
145
146
- Sometimes we might want to define a chain that can be only jumped from another chain we define.
147
- By default, all ` simple_iptables_rule ` chains will be jumped from one of the directions
148
- chains. To prevent jumping to the chain from the direction chains, we can set the direction attribute
149
- to the symbol ` :none ` . For example, consider a chain used to log
146
+ Sometimes we might want to define a chain where we only want to jump from another chain we define.
147
+ By default, an automatic jump will be made to chains defined using the ` simple_iptables_rule ` resource
148
+ from the chain specified using the ` direction ` attribute of the resource. To prevent jumping to the
149
+ chain from the direction chains, we can set the direction attribute to the symbol ` :none ` .
150
+ For example, consider a chain used to log
150
151
151
152
simple_iptables_rule "logging_drop" do
152
153
direction :none
@@ -155,8 +156,8 @@ to the symbol `:none`. For example, consider a chain used to log
155
156
jump false
156
157
end
157
158
158
- We can then jump to this chain from other simple_iptables_rule chains, but a jump to this
159
- chain won't be added to a direction chain's set of rules .
159
+ We can then jump to this chain from other simple_iptables_rule chains, but an automatic jump to
160
+ this chain won't be added.
160
161
161
162
162
163
` simple_iptables_policy ` Resource
0 commit comments