ZyXEL Communications P-2302R Series User Manual

Page of 384
P-2302R Series User’s Guide
Chapter 30 Filter Configuration
288
M = N means an action can be taken immediately. The action is to drop the packet (m = D) if 
the action is matched and to forward the packet immediately (n = F) if the action is not 
matched no matter whether there are more rules to be checked (there aren’t in this example).
After you’ve created the filter set, you must apply it. 
Enter 11 from the main menu to go to menu 11.
Go to the Edit Filter Sets field, press [SPACE BAR] to select Yes and press [ENTER].
This brings you to menu 11.5. Apply a filter set (our example filter set 3).
Press [ENTER] to confirm after you enter the set numbers and to leave menu 11.5.
30.4  Filter Types and NAT
There are two classes of filter rules, Generic Filter (Device) rules and protocol filter (TCP/
IP
) rules. Generic filter rules act on the raw data from/to LAN and WAN. Protocol filter rules 
act on the IP packets. Generic and TCP/IP filter rules are discussed in more detail in the next 
section. When NAT  (Network Address Translation) is enabled, the inside IP address and port 
number are replaced on a connection-by-connection basis, which makes it impossible to know 
the exact address and port on the wire. Therefore, the Prestige applies the protocol filters to the 
“native” IP address and port number before NAT for outgoing packets and after NAT for 
incoming packets. On the other hand, the generic, or device filters are applied to the raw 
packets that appear on the wire. They are applied at the point when the Prestige is receiving 
and sending the packets; i.e. the interface. The interface can be an Ethernet port or any other 
hardware port. The following diagram illustrates this.
Figure 160   Protocol and Device Filter Sets
30.5  Applying a Filter 
This section shows you where to apply the filter(s) after you design it (them).