ZyXEL Communications ZyXEL ZyWALL 5 User Manual

Page 626

Advertising
background image

ZyWALL 5 User’s Guide

Appendix L Firewall Commands

625

config edit firewall set <set
#> rule <rule #> destaddr-
subnet <ip address> <subnet
mask>

This command sets a rule to have the

ZyWALL check for traffic with a particular

subnet destination (defined by IP address and

subnet mask).

config edit firewall set <set
#> rule <rule #> destaddr-
range <start ip address> <end
ip address>

This command sets a rule to have the

ZyWALL check for traffic going to this range of

addresses.

config edit firewall set <set
#> rule <rule #> TCP destport-
single <port #>

This command sets a rule to have the

ZyWALL check for TCP traffic with this

destination address. You may repeat this

command to enter various, non-consecutive

port numbers.

config edit firewall set <set
#> rule <rule #> TCP destport-
range <start port #> <end port
#>

This command sets a rule to have the

ZyWALL check for TCP traffic with a

destination port in this range.

config edit firewall set <set
#> rule <rule #> UDP destport-
single <port #>

This command sets a rule to have the

ZyWALL check for UDP traffic with this

destination address. You may repeat this

command to enter various, non-consecutive

port numbers.

config edit firewall set <set
#> rule <rule #> UDP destport-
range <start port #> <end port
#>

This command sets a rule to have the

ZyWALL check for UDP traffic with a

destination port in this range.

Delete

config delete firewall e-mail

This command removes all of the settings for

e-mail alert.

config delete firewall attack

This command resets all of the attack

response settings to their defaults.

config delete firewall set
<set #>

This command removes the specified set from

the firewall configuration.

config delete firewall set
<set #> rule<rule #>

This command removes the specified rule in a

firewall configuration set.

Table 30 Firewall Commands (continued)

FUNCTION

COMMAND

DESCRIPTION

Advertising