P-660HW-T v2 User’s Guide
144
Chapter 9 Firewalls
The previous figure shows the ZyXEL Device’s default firewall rules in action as well as
demonstrates how stateful inspection works. User A can initiate a Telnet session from within
the LAN and responses to this request are allowed. However other Telnet traffic initiated from
the WAN is blocked.
9.5.1 Stateful Inspection Process
In this example, the following sequence of events occurs when a TCP packet leaves the LAN
network through the firewall's WAN interface. The TCP packet is the first in a session, and the
packet's application layer protocol is configured for a firewall rule inspection:
1
The packet travels from the firewall's LAN to the WAN.
2
The packet is evaluated against the interface's existing outbound access list, and the
packet is permitted (a denied packet would simply be dropped at this point).
3
The packet is inspected by a firewall rule to determine and record information about the
state of the packet's connection. This information is recorded in a new state table entry
created for the new connection. If there is not a firewall rule for this packet and it is not an
attack, then the settings in the
Firewall General
screen determine the action for this
packet.
4
Based on the obtained state information, a firewall rule creates a temporary access list
entry that is inserted at the beginning of the WAN interface's inbound extended access
list. This temporary access list entry is designed to permit inbound packets of the same
connection as the outbound packet just inspected.
5
The outbound packet is forwarded out through the interface.
6
Later, an inbound packet reaches the interface. This packet is part of the connection
previously established with the outbound packet. The inbound packet is evaluated against
the inbound access list, and is permitted because of the temporary access list entry
previously created.
7
The packet is inspected by a firewall rule, and the connection's state table entry is updated
as necessary. Based on the updated state information, the inbound extended access list
temporary entries might be modified, in order to permit only packets that are valid for the
current state of the connection.
8
Any additional inbound or outbound packets that belong to the connection are inspected
to update the state table entry and to modify the temporary inbound access list entries as
required, and are forwarded through the interface.
9
When the connection terminates or times out, the connection's state table entry is deleted
and the connection's temporary inbound access list entries are deleted.
9.5.2 Stateful Inspection and the ZyXEL Device
Additional rules may be defined to extend or override the default rules. For example, a rule
may be created which will:
• Block all traffic of a certain type, such as IRC (Internet Relay Chat), from the LAN to the
Internet.
Summary of Contents for P-660HW-T - V2
Page 2: ......
Page 7: ...P 660HW T v2 User s Guide Safety Warnings 7 This product is recyclable Dispose of it properly...
Page 26: ...P 660HW T v2 User s Guide 26 List of Figures...
Page 40: ...P 660HW T v2 User s Guide 40 Chapter 1 Getting To Know Your ZyXEL Device...
Page 54: ...P 660HW T v2 User s Guide 54 Chapter 2 Introducing the Web Configurator...
Page 74: ...P 660HW T v2 User s Guide 74 Chapter 4 Bandwidth Management Wizard...
Page 92: ...P 660HW T v2 User s Guide 92 Chapter 5 WAN Setup...
Page 124: ...P 660HW T v2 User s Guide 124 Chapter 7 LAN Setup...
Page 156: ...P 660HW T v2 User s Guide 156 Chapter 10 Firewall Configuration Figure 85 Firewall Edit Rule...
Page 170: ...P 660HW T v2 User s Guide 170 Chapter 10 Firewall Configuration...
Page 174: ...P 660HW T v2 User s Guide 174 Chapter 11 Content Filtering...
Page 178: ...P 660HW T v2 User s Guide 178 Chapter 12 Static Route...
Page 190: ...P 660HW T v2 User s Guide 190 Chapter 13 Bandwidth Management...
Page 194: ...P 660HW T v2 User s Guide 194 Chapter 14 Dynamic DNS Setup...
Page 206: ...P 660HW T v2 User s Guide 206 Chapter 15 Remote Management Configuration...
Page 218: ...P 660HW T v2 User s Guide 218 Chapter 16 Universal Plug and Play UPnP...
Page 224: ...P 660HW T v2 User s Guide 224 Chapter 17 System...
Page 244: ...P 660HW T v2 User s Guide 244 Chapter 18 Logs...
Page 250: ...P 660HW T v2 User s Guide 250 Chapter 19 Tools...
Page 256: ...P 660HW T v2 User s Guide 256 Chapter 21 Troubleshooting...
Page 260: ...P 660HW T v2 User s Guide 260 Appendix A Product Specifications...
Page 280: ...P 660HW T v2 User s Guide 280 Appendix D Wall mounting Instructions...
Page 308: ...P 660HW T v2 User s Guide 308 Appendix G Command Interpreter...
Page 320: ...P 660HW T v2 User s Guide 320 Appendix J Splitters and Microfilters...
Page 334: ...P 660HW T v2 User s Guide 334 Appendix K Wireless LANs...