Moxa EM-1220-LX [34/57] Adding a web page

Moxa EM-1220-LX [34/57] Adding a web page
EM-1240-LX User’s Manual Configuring the EM-1240-LX
Adding a Web Page
Default Home Page address:
/home/httpd/index.html
You may change the default home page directory by editing the web servers configuration file,
located at: /etc/boa.conf
Type the following command to edit the boa.conf file:
/etc>vi boa.conf
To add your web page, place your home page in the following directory:
/home/httpd/
IPTABLES
IPTABLES is an administrative tool for setting up, maintaining, and inspecting the Linux kernel’s
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 the action to
be taken with a matching packet. A rule (such as a jump to a user-defined chain in the same table)
is called a “target.”
The EM-1240-LX supports three types of IPTABLES tables: 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
4-3

Содержание

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

Скачать