
Chapter 19 Firewall
ZyWALL 110/310/1100 Series User’s Guide
278
19.5 Firewall Rule Example Applications
Suppose you decide to block LAN users from using IRC (Internet Relay Chat) through the Internet.
To do this, you would configure a LAN to WAN firewall rule that blocks IRC traffic from any source IP
address from going to any destination address. You do not need to specify a schedule since you
need the firewall rule to always be in effect. The following figure shows the results of this rule.
Figure 172
Blocking All LAN to WAN IRC Traffic Example
Your firewall would have the following rules.
• The first row blocks LAN access to the IRC service on the WAN.
• The second row is the firewall’s default policy that allows all LAN1 to WAN traffic.
The ZyWALL applies the firewall rules in order. So for this example, when the ZyWALL receives
traffic from the LAN, it checks it against the first rule. If the traffic matches (if it is IRC traffic) the
firewall takes the action in the rule (drop) and stops checking the firewall rules. Any traffic that
does not match the first firewall rule will match the second rule and the ZyWALL forwards it.
Now suppose you need to let the CEO use IRC. You configure a LAN1 to WAN firewall rule that
allows IRC traffic from the IP address of the CEO’s computer. You can also configure a LAN to WAN
rule that allows IRC traffic from any computer through which the CEO logs into the ZyWALL with
his/her user name. In order to make sure that the CEO’s computer always uses the same IP
address, make sure it either:
• Has a static IP address,
or
• You configure a static DHCP entry for it so the ZyWALL always assigns it the same IP address
for information on DHCP).
Table 102
Blocking All LAN to WAN IRC Traffic Example
#
USER
SOURCE
DESTINATION
SCHEDULE
SERVICE
ACTION
1
Any
Any
Any
Any
IRC
Deny
2
Any
Any
Any
Any
Any
Allow
Summary of Contents for ZyWALL 110 Series
Page 16: ...ZyWALL 110 310 1100 Series User s Guide 16...
Page 32: ...Chapter 1 Introduction ZyWALL 110 310 1100 Series User s Guide 32...
Page 42: ...Chapter 3 Hardware Introduction ZyWALL 110 310 1100 Series User s Guide 42...
Page 68: ...Chapter 4 Quick Setup Wizards ZyWALL 110 310 1100 Series User s Guide 68...
Page 176: ...Chapter 7 Interfaces ZyWALL 110 310 1100 Series User s Guide 176...
Page 186: ...Chapter 8 Trunk ZyWALL 110 310 1100 Series User s Guide 186...
Page 210: ...Chapter 10 Routing Protocols ZyWALL 110 310 1100 Series User s Guide 210...
Page 220: ...Chapter 12 DDNS ZyWALL 110 310 1100 Series User s Guide 220...
Page 228: ...Chapter 13 NAT ZyWALL 110 310 1100 Series User s Guide 228...
Page 240: ...Chapter 15 ALG ZyWALL 110 310 1100 Series User s Guide 240...
Page 246: ...Chapter 16 IP MAC Binding ZyWALL 110 310 1100 Series User s Guide 246...
Page 263: ...Chapter 18 Authentication Policy ZyWALL 110 310 1100 Series User s Guide 263...
Page 264: ...Chapter 18 Authentication Policy ZyWALL 110 310 1100 Series User s Guide 264...
Page 316: ...Chapter 20 IPSec VPN ZyWALL 110 310 1100 Series User s Guide 316...
Page 340: ...Chapter 22 SSL User Screens ZyWALL 110 310 1100 Series User s Guide 340...
Page 442: ...Chapter 36 DHCPv6 ZyWALL 110 310 1100 Series User s Guide 442...
Page 540: ...Appendix A Legal Information ZyWALL 110 310 1100 Series User s Guide 540...
Page 558: ...Index ZyWALL 110 310 1100 Series User s Guide 558...
Page 559: ...Index ZyWALL 110 310 1100 Series User s Guide 559...
Page 560: ...Index ZyWALL 110 310 1100 Series User s Guide 560...
Page 561: ...Index ZyWALL 110 310 1100 Series User s Guide 561...
Page 562: ...Index ZyWALL 110 310 1100 Series User s Guide 562...