Moxa IA3341-LX [36/72] Iptables

Moxa IA3341-LX [36/72] Iptables
IA3341 Linux User’s Manual Managing Communications
4-6
Step 5: Run install.sh and select to install php.
192.168.3.127 – PuTTY
root@Moxa:/mnt/ramdisk/apache-sdlinux@ ./install.sh
Choose:
1. Install Apache.
2. Install Apache + PHP.
3. Install Apache + SSL + PHP.
4. Uninstall Apache.
5. Exit
2
Installing, Please wait…………
Install successful..
Step 6: Test it. Use the browser to access http://192.168.3.127/phpinfo.php.
If you want to uninstall PHP, follow steps 2 to 5 but select the uninstall option.
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 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 IA3341 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)

Содержание

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

Скачать