Moxa UC-8481-T-LX [31/90] Attention

Moxa UC-8481-T-LX [31/90] Attention
UC-8410/8416/8418/8430 Managing Communication
4-4
ATTENTION
When you develop your own CGI application, make sure your CGI file is executable.
192.168.3.127 – PuTTY
root@Moxa:/usr/www/cgi-bin# ls –al
drwxr—xr-x 2 root root 0 Aug 24 1999
drwxr—xr-x 5 root root 0 Nov 5 16:16
-rwxr—xr-x 1 root root 268 Dec 19 2002 printenv
-rwxr—xr-x 1 root root 757 Aug 24 1999 test-cgi
root@Moxa:/usr/www/cgi-bin#
IPTABLES
IPTABLES is an administrative tool for setting up, maintaining, and inspecting the Linux kernels IP packet filter
rule tables. Several different tables are defined, with each table containing built-in chains and user-defined
chains.
Each chain is a list of rules that apply to a certain type of packet. Each rule specifies what to do with a matching
packet. A rule (such as a jump to a user-defined chain in the same table) is called a target.
The UC-8410/8416/8418/8430/8430 supports 3 types of IPTABLES table: Filter tables, NAT tables, and Mangle
tables:
A. Filter Tableincludes three chains:
INPUT chain
OUTPUT chain
FORWARD chain
B. NAT Tableincludes three chains:
PREROUTING chaintransfers the destination IP address (DNAT)
POSTROUTING chainworks after the routing process and before the Ethernet device process to transfer
the source IP address (SNAT)
OUTPUT chainproduces local packets
sub-tables
Source NAT (SNAT)changes the first source packet IP address
Destination NAT (DNAT)changes the first destination packet IP address
MASQUERADEa special form for SNAT. If one host can connect to internet, then other computers
that connect to this host can connect to the Internet when it the computer does not have an actual
IP address.
REDIRECTa special form of DNAT that re-sends packets to a local host independent of the
destination IP address.
C. Mangle Tableincludes two chains
PREROUTING chainpre-processes packets before the routing process.
OUTPUT chainprocesses packets after the routing process. It has three extensionsTTL, MARK, TOS.
The following figure shows the IPTABLES hierarchy.

Содержание

Похожие устройства

Скачать