
22
Cyclades ACS 5000 Advanced Console Server Command Reference Guide
Configuring IP tables
IPv4 Syntax
#
iptables -command chain rule-specification [-t table] [options]
#
iptables -E old-chain-name new-chain-name
where,
•
table
- May be filter or nat. If the option
-t
is not specified, the filter table is assumed.
•
chain
•
For filter table: INPUT, OUTPUT, FORWARD or a user-created chain.
•
for nat table: PREROUTING, OUTPUT, POSTROUTING or a user-created chain.
IPv6 Syntax
#
ip6tables -command chain rule-specification [-t table] [options]
#
ip6tables -E old-chain-name new-chain-name
where,
•
table
- May only be a filter table. The option
-t
does not need to be specified.
•
chain - INPUT, OUTPUT, FORWARD or a user-created chain.
NOTE:
Fragmented packets cannot be filtered in IPv6 configurations.
Command
Only one command may be specified on the command line unless otherwise specified in Table 2.9.
Table 2.9: iptables Commands Options
Command
Description
-A - - append
Append one or more rules to the end of the selected chain. When the source and/or
destination names resolve to more than one address, a rule is added for each
possible address combination.
-D - - delete
Delete one or more rules from the selected chain. There are two versions of this
command. The rule may be specified as a number in the chain (starting at 1 for the
first rule) or as a rule to match.
-R - - replace
Replace a rule in the selected chain. If the source and/or destination names resolve
to multiple addresses, the command fails. Rules are numbered starting at 1.
-I - - insert
Insert one or more rules in the selected chain as the given rule number. Thus if the
rule number is 1, the rule or rules are inserted at the head of the chain. This is also
the default if no rule number is specified.
Содержание Cyclades ACS 5000 SERIES
Страница 1: ...CYCLADES ACS 5000 Command Reference Guide ...
Страница 8: ...vi Cyclades ACS 5000 Advanced Console Server Command Reference Guide ...
Страница 16: ...8 Cyclades ACS 5000 Advanced Console Server Command Reference Guide ...
Страница 40: ...32 Cyclades ACS 5000 Advanced Console Server Command Reference Guide ...
Страница 62: ...54 Cyclades ACS 5000 Advanced Console Server Command Reference Guide ...
Страница 76: ...68 Cyclades ACS 5000 Advanced Console Server Command Reference Guide ...
Страница 151: ......
Страница 152: ...590 814 501B For Technical Support www avocent com support ...