Home | History | Annotate | Download | only in iptables

Lines Matching full:chain

28 .BR "iptables [-t table] -[AD] " "chain rule-specification [options]"
30 .BR "iptables [-t table] -I " "chain [rulenum] rule-specification [options]"
32 .BR "iptables [-t table] -R " "chain rulenum rule-specification [options]"
34 .BR "iptables [-t table] -D " "chain rulenum [options]"
36 .BR "iptables [-t table] -[LFZ] " "[chain] [options]"
38 .BR "iptables [-t table] -N " "chain"
40 .BR "iptables [-t table] -X " "[chain]"
42 .BR "iptables [-t table] -P " "chain target [options]"
44 .BR "iptables [-t table] -E " "old-chain-name new-chain-name"
52 Each chain is a list of rules which can match a set of packets. Each
54 a `target', which may be a jump to a user-defined chain in the same
59 packet does not match, the next rule in the chain is the examined; if
61 target, which can be the name of a user-defined chain or one of the
88 means stop traversing this chain and resume at the next rule in the
89 previous (calling) chain. If the end of a built-in chain is reached
90 or a rule in a built-in chain with target
92 is matched, the target specified by the chain policy determines the
165 .BI "-A, --append " "chain rule-specification"
166 Append one or more rules to the end of the selected chain.
170 .BI "-D, --delete " "chain rule-specification"
173 .BI "-D, --delete " "chain rulenum"
174 Delete one or more rules from the selected chain. There are two
176 chain (starting at 1 for the first rule) or a rule to match.
179 Insert one or more rules in the selected chain as the given rule
181 at the head of the chain. This is also the default if no rule number
184 .BI "-R, --replace " "chain rulenum rule-specification"
185 Replace a rule in the selected chain. If the source and/or
190 List all rules in the selected chain. If no chain is selected, all
201 (zero) option as well, in which case the chain(s) will be atomically
209 Flush the selected chain (all the chains in the table if none is given).
219 .BI "-N, --new-chain " "chain"
220 Create a new user-defined chain by the given name. There must be no
223 .BR "-X, --delete-chain " "[\fIchain\fP]"
224 Delete the optional user-defined chain specified. There must be no references
225 to the chain. If there are, you must delete or replace the referring rules
226 before the chain can be deleted. The chain must be empty, i.e. not contain
228 non-builtin chain in the table.
230 .BI "-P, --policy " "chain target"
231 Set the policy for the chain to the given target. See the section
237 .BI "-E, --rename-chain " "old-chain new-chain"
238 Rename the user specified chain to the user supplied name. This is
295 matches it. The target can be a user-defined chain (other than the
306 .BI "-g, --goto " "chain"
308 specified chain. Unlike the --jump option return will not continue
309 processing in this chain but instead in the chain that called us via
382 corresponding to that rule's position in the chain.
385 When adding or inserting rules into a chain, use
446 chain.