P312 Broadband Security Gateway

Function

CLI Syntax

Description

config edit firewall set <set #> rule

<rule #> srcaddr-subnet <ip address>

<subnet mask>

config edit firewall set <set #> rule

<rule #> srcaddr-range <start ip address> <end ip address>

config edit firewall set <set #> rule

<rule #> destaddr-single <ip address>

config edit firewall set <set #> rule

<rule #> destaddr-subnet <ip address>

<subnet mask>

config edit firewall set <set #> rule

<rule #> destaddr-range <start ip address> <end ip address>

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

config edit firewall set<set #> rule <rule #> destport-custom <desired custom port name>

Selects and edits a source address and subnet mask of traffic which comply to this rule

Selects and edits a source address range of traffic which comply to this rule

Selects and edits a destination address of the traffic which comply to this rule

Selects and edits a destination address and subnet mask of traffic which comply to this rule

Selects and edits a destination address range of traffic which comply to this rule

Selects and edits the destination port of the traffic which comply with this rule. For non-consecutive port numbers, the user may repeat this command line to enter in the multiple port numbers.

Selects and edits a destination port range of traffic which comply to this rule

Selects and edits the destination port of the traffic which comply with this rule. For non-consecutive port numbers, the user may repeat this command line to enter in the multiple port numbers.

Selects and edits a destination port range of traffic which comply to this rule

Types in the desired custom port name

N

CLI Commands

Page 235
Image 235
ZyXEL Communications P-312 manual P312 Broadband Security Gateway