Moxa UC-8416-T-LX [33/90] Observe and erase chain rules

Moxa UC-8416-T-LX [33/90] Observe and erase chain rules
UC-8410/8416/8418/8430 Managing Communication
4-6
The UC-8410/8416/8418/8430/8430 supports the following sub-modules. Be sure to use the module that
matches your application.
nf_conntrack nf_conntrack_ftp x_tables xt_CLASSIFY
xt_MARK xt_NFLOG xt_NFQUEUE xt_TCPMSS
xt_esp xt_length xt_limit xt_mac
xt_mark xt_multiport xt_pkttype xt_string
xt_tcpmss xt_tcpudp xt_u32 arp_tables
arpt_mangle arptable_filter ip_tables ipt_CLUSTERIP
ipt_ECN ipt_NETMAP ipt_SAME ipt_TTL
ipt_addrtype ipt_ecn ipt_iprange ipt_recent
iptable_filter iptable_mangle iptable_nat nf_conntrack_ipv4
nf_nat nf_nat_ftp nf_nat_snmp_basic
ipt_ah
ipt_MASQUERADE
ipt_tos
ipt_REDIRECT ipt_ttl
ipt_REJECT
ipt_TOS
ipt_LOG ipt_ULOG ipt_owner
NOTE The UC-8410/8416/8418/8430/8430 does NOT support IPV6 and ipchains.
The basic syntax to enable and load an IPTABLES module is as follows:
#lsmod
#modprobe ip_tables
#modprobe iptable_filter
Use lsmod to check if the ip_tables module has already been loaded in the UC-8410/8416/8418/8430. Use
modprobe to insert and enable the module.
Use the following command to load the modules (iptable_filter, iptable_mangle, iptable_nat):
#modprobe iptable_filter
NOTE IPTABLES plays the role of 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 the IPTABLES.
Click on the following links for more information about iptables.
http://www.linuxguruz.com/iptables/
http://www.netfilter.org/documentation/HOWTO//packet-filtering-HOWTO.html
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 [-t tables] [-L] [-n]
-t tables: Table to manipulate (default: filter); example: nat or filter.
-L [chain]: List List all rules in selected chains. If no chain is selected, all chains are listed.
-n: Numeric output of addresses and ports.

Содержание

Скачать