ZyWALL 2 User’s Guide

Chart L-1Firewall Commands

FUNCTION

COMMAND

DESCRIPTION

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

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

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

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 TCP traffic with this destination address. You may repeat this command to enter various, non-consecutive port numbers.

This command sets a rule to have the ZyWALL check for TCP traffic with a destination port in this range.

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.

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 #>

This command removes the specified rule in a

rule

firewall configuration set.

<rule #>

 

L-6

Firewall Commands