Configuring |
The
ip_conntrack | ipt_MARK |
ip_conntrack_ftp | ipt_MASQUERADE |
ipt_conntrack_irc | ipt_MIRROT |
ip_nat_ftp | ipt_REDIRECT |
ip_nat_irc | ipt_REJECT |
ip_nat_snmp_basic | ipt_TCPMSS |
ip_queue | ipt_TOS |
|
|
ipt_ah ipt_esp ipt_length ipt_limit ipt_mac ipt_mark ipt_multiport ipt_owner
ipt_state
ipt_tcpmss
ipt_tos
ipt_ttl
ipt_unclean
NOTE The
Use iptables,
NOTE IPTABLES supports packet filtering or NAT. Take care when setting up the IPTABLES rules. If the rules are not correct, remote hosts that connect via a LAN or PPP may be denied access. We recommend using the Serial Console to set up IPTABLES.
Click on the following links for more information about iptables.
http://www.linuxguruz.com/iptables/
Since the IPTABLES command is very complex, to illustrate the IPTABLES syntax we have divided our discussion of the various rules into three categories: Observe and erase chain rules,
Define policy rules, and Append or delete rules.
Observe and erase chain rules
Usage:
# iptables
Table to manipulate (default: ‘filter’); example: nat or filter. | |
List all rules in selected chains. If no chain is selected, all chains are listed. | |
Numeric output of addresses and ports. |
# iptables
Examples:
# iptables
In this example, since we do not use the
#iptables