Moxa DA-683-SP-LX [31/96] Filter table includes three chains
![Moxa DA-683-SP-LX [31/96] Filter table includes three chains](/views2/1199563/page31/bg1f.png)
DA-683-LX Managing Communications
3-9
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 DA-683-LX supports three types of IPTABLES: Filter tables, NAT tables, and Mangle tables.
Filter Table—includes three chains:
INPUT chain
OUTPUT chain
FORWARD chain
NAT Table—includes three chains:
PREROUTING chain—transfers the destination IP address (DNAT).
POSTROUTING chain—works after the routing process and before the Ethernet device
process to transfer
the source IP address (SNAT).
OUTPUT chain—produces local packets.
Sub-tables
Source NAT (SNAT)—changes the first source IP address of the packet.
Destination NAT (DNAT)—changes the first destination IP address of the packet.
MASQUERADE—a special form for SNAT. If one host can connect to the Internet, then the other computers that
connect to this host can connect to the Internet when the computer does not have an actual IP address.
REDIRECT—a special form of DNAT that re-sends packets to a local host independent of the destination IP
address.
Mangle Table—includes two chains
PREROUTING chain—pre-processes packets before the routing process.
OUTPUT chain—processes packets after the routing process.
Mangle tables can have one of three extensions—TTL, MARK, TOS.
Содержание
- Da 683 series linux user s manual 1
- Fourth edition august 2012 1
- Www moxa com product 1
- Copyright notice 2
- Da 683 series linux user s manual 2
- Disclaimer 2
- Technical support contact information 2
- Trademarks 2
- Www moxa com support 2
- Introduction 5
- Attention 6
- Device driver 6
- Hardware 6
- Linux kernel 6
- Micro kernel 6
- Overview 6
- Protocol stack 6
- Software specifications 6
- Da 683 lx introduction 7
- Software components 7
- Software configuration 8
- Da 683 lx software configuration 9
- Starting from a vga console 9
- The read only file system 9
- Connecting from a telnet console 10
- Da 683 lx software configuration 10
- Adjusting the system time 11
- Connecting from an ssh console 11
- Da 683 lx software configuration 11
- Linux users 11
- Windows users 11
- Da 683 lx software configuration 12
- Ntp client 12
- Setting the time manually 12
- Attention 13
- Ptp slave 13
- Updating the time automatically 13
- Da 683 lx software configuration 14
- Enabling and disabling daemons 14
- Da 683 lx software configuration 15
- Da 683 lx software configuration 16
- Cron daemon for executing scheduled commands 17
- Da 683 lx software configuration 17
- Moxa rm f etc rc2 d s60tcps2 17
- Setting the run level 17
- Da 683 lx software configuration 18
- Inserting a usb storage device into the computer 18
- Apt installing and removing packages 19
- Attention 19
- Checking the linux version 19
- Da 683 lx software configuration 19
- Inserting a compact flash card 19
- Attention 20
- Da 683 lx software configuration 20
- Attention 21
- Da 683 lx software configuration 21
- Device suspend 21
- Da 683 lx software configuration 22
- Wake on lan 22
- Managing communications 23
- Attention 24
- Changing the interfaces configuration file 24
- Changing the network settings 24
- Detecting network interfaces 24
- Static ip address 24
- Adjusting ip addresses with ifconfig 25
- Da 683 lx managing communications 25
- Dynamic ip address using dhcp 25
- Telnet ftp server 25
- Da 683 lx managing communications 26
- Disabling the telnet tftp server 26
- Dns client 26
- Enabling the telnet tftp server 26
- Etc hostname 26
- Da 683 lx managing communications 27
- Etc nsswitch conf 27
- Etc resolv conf 27
- Apache web server 28
- Default homepage 28
- Disabling the cgi function 28
- To edit the configuration file 28
- Attention 29
- Da 683 lx managing communications 29
- Saving web pages to a usb storage device 29
- To edit the configuration file 29
- Uncompres 29
- Writin 29
- Attention 30
- Da 683 lx managing communications 30
- Da 683 lx managing communications 31
- Filter table includes three chains 31
- Iptables 31
- Mangle table includes two chains 31
- Nat table includes three chains 31
- Process 31
- Sub tables 31
- Da 683 lx managing communications 32
- Iptables hierarchy 32
- Iptables modules 32
- Attention 33
- Da 683 lx managing communications 33
- Observe and erase chain rules 33
- To maintain the database 33
- Append or delete rules 34
- Da 683 lx managing communications 34
- Define policy for chain rules 34
- Attention 35
- Nat example 35
- Nat network address translation 35
- Da 683 lx managing communications 36
- Enabling nat at bootup 36
- Ppp point to point protocol 36
- Attention 37
- Connecting to a ppp server over a simple dial up connection 37
- Da 683 lx managing communications 37
- Log in with username and password 37
- Checking the connection 38
- Connecting to a ppp server over a hard wired link 38
- Da 683 lx managing communications 38
- Da 683 lx managing communications 39
- Setting up a machine for incoming ppp connections 39
- Attention 40
- Da 683 lx managing communications 40
- And add the following 41
- Da 683 lx managing communications 41
- Edit the file 41
- Da 683 lx managing communications 42
- Attention 43
- Da 683 lx managing communications 43
- Nfs network file system client 43
- Snmp simple network management protocol 43
- Attention 44
- Ethernet bridging for private networks on different subnets 44
- Openvpn 44
- Da 683 lx managing communications 45
- Attention 46
- Da 683 lx managing communications 46
- Da 683 lx managing communications 47
- Ethernet bridging for private networks on the same subnet 47
- Da 683 lx managing communications 48
- Routed ip 48
- Da 683 lx managing communications 49
- Programmer guide 50
- Da 683 lx programmer guide 51
- Define dio_error_port 1 no such port define dio_error_mode 2 no such mode or state define dio_error_control 3 open or ioctl fail define dio_error_duration 4 the value of duration is not 0 or not in the range 40 duration 3600000 milliseconds 1 hour define dio_error_duration_20ms 5 the value of duration must be a multiple of 20 ms define dio_ok 0 51
- Define dio_high 1 define dio_low 0 51
- Digital i o 51
- Rtc real time clock 51
- Da 683 lx programmer guide 52
- Da 683 lx programmer guide 53
- Examples 53
- How the wdt works 53
- Important 53
- Introduction 53
- The user api 53
- Wdt watch dog timer 53
- Attention 54
- Da 683 lx programmer guide 54
- Examples 54
- Da 683 lx programmer guide 55
- Dev pled 55
- Moxa lsmod grep moxa_pled moxa_pled 2464 0 55
- Moxa modprobe moxa_pled moxa lsmod grep moxa_pled moxa_pled 2464 0 55
- Programmable leds 55
- System recovery 56
- Da 683 lx software components 57
- Hardware 57
- Recovery environment 57
- Recovery procedure 57
- Step 1 prepare your usb drive 57
- Da 683 lx software components 58
- Da 683 lx software components 59
- Step 2 change the bios settings 59
- Da 683 lx software components 60
- Da 683 lx software components 61
- Step 3 restore the system from usb drive 61
- Da 683 lx software components 62
- Da 683 lx software components 63
- Da 683 lx software components 64
- Step 4 change the bios settings to boot from the original disk 64
- Da 683 lx software components 65
- Saving the system to the usb drive 65
- Step 5 reboot the computer 65
- Da 683 lx software components 66
- Da 683 lx software components 67
- A software components 68
- Software components 68
- Da 683 lx software components 69
- Da 683 lx software components 70
- Da 683 lx software components 71
- Da 683 lx software components 72
- Da 683 lx software components 73
- Da 683 lx software components 74
- Da 683 lx software components 75
- Da 683 lx software components 76
- Da 683 lx software components 77
- Da 683 lx software components 78
- Da 683 lx software components 79
- Da 683 lx software components 80
- Da 683 lx software components 81
- Da 683 lx software components 82
- Da 683 lx software components 83
- B ieee 1588 configuration 84
- Ieee 1588 configuration 84
- Configuration of ptp settings 85
- Da 683 lx ieee 1588 configuration 85
- Getting started 85
- Da 683 lx ieee 1588 configuration 86
- Wizard settings 86
- Da 683 lx ieee 1588 configuration 87
- Basic settings 88
- Da 683 lx ieee 1588 configuration 88
- Da 683 lx ieee 1588 configuration 89
- Interface 89
- Synchronization 89
- Advanced settings 90
- Da 683 lx ieee 1588 configuration 90
- Foreign master 90
- Da 683 lx ieee 1588 configuration 91
- E2e interval setting 91
- P2p interval setting 91
- Da 683 lx ieee 1588 configuration 92
- Multicast ttl setting 92
- Ptpd domain setting 92
- Clock filter setting 93
- Da 683 lx ieee 1588 configuration 93
- Mode setting 93
- Da 683 lx ieee 1588 configuration 94
- Delay filter setting 94
- Pid servo setting 94
- Da 683 lx ieee 1588 configuration 95
- Delay filter stiffness setting 95
- Monitoring 95
- Attention 96
- Da 683 lx ieee 1588 configuration 96
- Enabling the da fx04 fiber lan module 96
Похожие устройства
- Moxa DA-683-SP-LX Руководство по программной части (Windows)
- Moxa DA-683-SP-XPE Инструкция по эксплуатации
- Moxa DA-683-SP-XPE Технические характеристики
- Moxa DA-683-SP-XPE Руководство по быстрой установке
- Moxa DA-683-SP-XPE Руководство по программной части (Windows)
- Moxa DA-683-SP-XPE Руководство по программной части (Linux)
- Moxa DA-683-SP-XPE Руководство по программной части (Windows 7)
- Moxa DA-683-SP-W7E Инструкция по эксплуатации
- Moxa DA-683-SP-W7E Технические характеристики
- Moxa DA-683-SP-W7E Руководство по быстрой установке
- Moxa DA-683-SP-W7E Руководство по программной части (Windows)
- Moxa DA-683-SP-W7E Руководство по программной части (Linux)
- Moxa DA-683-SP-W7E Руководство по программной части (Windows 7)
- Moxa DA-710-LX Инструкция по эксплуатации
- Moxa DA-710-LX Руководство по быстрой установке
- Moxa DA-710-LX Технические характеристики
- Moxa DA-710-LX Руководство по программной части (Windows)
- Moxa DA-710-LX Руководство по программной части (Linux)
- Moxa DA-710-XPE Инструкция по эксплуатации
- Moxa DA-710-XPE Руководство по быстрой установке