beautypg.com

ZyXEL Communications ZyXEL ZyWALL 5 User Manual

Page 626

background image

ZyWALL 5 User’s Guide

Appendix L Firewall Commands

625

config edit firewall set #> rule destaddr-
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 #> rule destaddr-
range ip address>

This command sets a rule to have the

ZyWALL check for traffic going to this range of

addresses.

config edit firewall set #> rule TCP destport-
single

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 #> rule TCP destport-
range #>

This command sets a rule to have the

ZyWALL check for TCP traffic with a

destination port in this range.

config edit firewall set #> rule UDP destport-
single

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 #> rule UDP destport-
range #>

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

This command removes the specified set from

the firewall configuration.

config delete firewall set
rule

This command removes the specified rule in a

firewall configuration set.

Table 30 Firewall Commands (continued)

FUNCTION

COMMAND

DESCRIPTION