ZyXEL Communications 4.04 User Manual

Page of 204
ZyWALL (ZyNOS) CLI Reference Guide
87
C
H A P T E R
 
 1 3  
Firewall Commands
Use these commands to configure firewall settings on the ZyWALL.
13.1  Command Summary
The following table describes input values for some of the firewall commands. Other 
values are discussed with the corresponding commands.
Table 37   Firewall Command Input Values
LABEL
DESCRIPTION
from
A traffic source (where the traffic enters the ZyWALL). Use one of the following.
 lan|wan1|wan2|dmz|wlan|vpn
rule-number
The number of a specific firewall rule.
set-number
The number of a set of firewall rules. The firewall rules are grouped in sets by 
packet direction. Refer to 
 for which set number to use for 
each firewall direction.
to
A traffic destination (where the traffic leaves the ZyWALL). Use one of the 
following.
 lan|wan1|wan2|dmz|wlan|vpn
Table 38   Firewall Set Numbers
FIREWALL 
DIRECTION
SET-
NUMBER
FIREWALL 
DIRECTION
SET-
NUMBER
FIREWALL 
DIRECTION
SET-
NUMBER
LAN to WAN
1
WLAN to WAN
13
WAN2 to WLAN
25
WAN to LAN
2
DMZ to WLAN
14
LAN to VPN
26
DMZ to LAN
3
WLAN to DMZ
15
VPN to LAN
27
DMZ to WAN
4
WLAN to WLAN
16
WAN to VPN
28
WAN to DMZ
5
LAN to WAN2
17
VPN to WAN
29
LAN to DMZ
6
WAN2 to LAN
18
WAN2 to VPN
30
LAN to LAN
7
WAN to WAN2
19
VPN to WAN2
31
WAN to WAN
8
WAN2 to WAN
20
DMZ to VPN
32
DMZ to DMZ
9
WAN2 to WAN2
21
VPN to DMZ
33
LAN to WLAN
10
DMZ to WAN2
22
WLAN to VPN
34
WLAN to LAN
11
WAN2 to DMZ
23
VPN to WLAN
35
WAN to WLAN
12
WLAN to WAN2
24
VPN to VPN
36