ZyXEL g-2000 plusv2 Guia Do Utilizador

Página de 440
ZyXEL G-2000 Plus v2 User’s Guide
Chapter 28 Filter Configuration
309
28.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 ZyXEL device 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 ZyXEL device 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 169   Protocol and Device Filter Sets
28.5  Firewall Versus Filters
Firewall configuration is discussed in the firewall chapters of this manual. Further 
comparisons are also made between filtering, NAT and the firewall. 
28.6  Applying a Filter 
This section shows you where to apply the filter(s) after you design it (them). The ZyXEL 
device already has filters to prevent NetBIOS traffic from triggering calls, and block incoming 
telnet, FTP and HTTP connections
.
Note: 
If you do not activate the firewall, it is advisable to apply filters
28.6.1  Applying LAN Filters
LAN traffic filter sets may be useful to block certain packets, reduce traffic and prevent 
security breaches. Go to menu 3.1 (shown next) and enter the number(s) of the filter set(s) that 
you want to apply as appropriate. You can choose up to four filter sets (from twelve) by 
entering their numbers separated by commas, e.g., 3, 4, 6, 11. Input filter sets filter incoming 
traffic to the ZyXEL device and output filter sets filter outgoing traffic from the ZyXEL 
device. For PPPoE or PPTP encapsulation, you have the additional option of specifying 
remote node call filter sets.