ZyXEL Communications zywall 50 User Manual

Page of 322
ZyWALL 50 Internet Security Gateway 
Creating Custom Rules 
 
10-1 
Chapter 10 
Creating Custom Rules 
This chapter contains instructions for defining both Local Network and Internet rules.  
10.1 Rules Overview 
Firewall rules are subdivided into “Local Network” and “Internet”. By default, the ZyWALL’s stateful 
packet inspection allows all communications to the Internet that originate from the local network, and blocks 
all traffic to the LAN that originates from the Internet. You may define additional rules and sets or modify 
existing ones but please exercise extreme caution in doing so. 
If you try to configure rules but do not have a good understanding of how rules 
work, you might inadvertently introduce security risks to the firewall and to the 
protected network. You should be sure you test your rules after you configure 
them. 
For example, you may create rules to: 
♦  Block certain types of traffic, such as IRC (Internet Relay Chat), from the LAN to the Internet. 
♦  Allow certain types of traffic, such as Lotus Notes database synchronization, from specific hosts on the 
Internet to specific hosts on the LAN. 
♦  Allow everyone except your competitors to access a Web server. 
♦  Restrict use of certain protocols, such as Telnet, to authorized users on the LAN. 
These custom rules work by comparing network traffic’s Source IP address, Destination IP address, IP 
protocol type to rules set by the administrator. Your customized rules take precedence, and may override the 
ZyWALL’s default rules.  
10.2  Rule Logic Overview 
Study these points carefully before configuring rules. 
10.2.1 Rule Checklist 
1.  State the intent of the rule. For example, “This restricts all IRC access from the LAN to the Internet.” Or, 
“This allows a remote Lotus Notes server to synchronize over the Internet to an inside Notes server.”