![Cyclades AlterPath ACS Command Reference Manual Download Page 138](http://html.mh-extra.comalterpath-acs_command-reference-manual_2703907138.png)
122
Network
for the filter table:
•
INPUT - For packets coming into the box itself.
•
FORWARD - For packets being routed through the box.
•
OUTPUT - For locally-generated packets.
for the nat table:
•
PREROUTING - For altering packets as soon as they come in.
•
OUTPUT - For altering locally-generated packets as soon as they come in.
•
POSTROUTING - For altering packets as they are about to go out.
Rule
Each chain has a sequence of rules. These rules contain:
•
How the packet should appear in order to match the rule -> Some information
about the packet is checked according to the rule, for example, the IP header, the
input and output interfaces, the TCP flags and the protocol.
•
What to do when the packet matches the rule -> The packet can be accepted,
blocked, logged or jumped to a user-defined chain. For the nat table, the packet can
also have its source IP address and source port altered (for the POSTROUTING
chain) or have the destination IP address and destination port altered (for the
PREROUTING and OUTPUT chain).
When a chain is analyzed, the rules of this chain are reviewed one-by-one until the
packet matches one rule. If no rule is found, the default action for that chain will be
taken.
Syntax
An iptables tutorial is beyond the scope of this manual. For more information on
iptables, see the iptables man page (not included with the ACS) or the how-to:
http://www.netfilter.org or http://www.iptables.org
The syntax of the iptables command is:
# iptables
-command chain rule-specification
[-t table] [options]
# iptables -E
old-chain-name new-chain-name
where:
•
table
- Can be filter or nat. If the option -t is not specified, the filter table will be
assumed.
Summary of Contents for AlterPath ACS
Page 16: ...xvi Table of Contents...
Page 29: ...13 This page has been left intentionally blank...
Page 30: ...14 Preface...
Page 68: ...52 Device Access...
Page 86: ...70 Authentication Step 5 Saving changes To save the configuration run the command saveconf...
Page 96: ...80 Authentication Save the configuration to flash 2 cli config savetoflash...
Page 114: ...98 Authentication...
Page 204: ...188 Administration To exit the CLI mode and return to ACS s shell issue the command cli quit...
Page 268: ...252 Power Management with AlterPath PM Integration...
Page 304: ...288 PCMCIA Cards Integration...
Page 338: ...322 Profile Configuration...
Page 364: ...348 Additional Features and Applications...
Page 376: ...360 Appendix A New User Background Information...
Page 406: ...390 Appendix C Cabling and Hardware Information This page has been left intentionally blank...
Page 418: ...402 List of Tables...
Page 420: ...404 List of Figures...