beautypg.com

ZyXEL Communications 802.11g HomePlug AV ADSL2+ Gateway P-660HWP-Dx User Manual

Page 372

background image

Appendix G Firewall Commands

P-660HWP-Dx User’s Guide

38

Config edit firewall set #> tcp-idle-timeout

This command sets how long P-660HWP-Dx

lets an inactive TCP connection remain open

before considering it closed.

Config edit firewall set #> log

This command sets whether or not the P-

660HWP-Dx creates logs for packets that

match the firewall’s default rule set.

Rules

Config edit firewall set #> rule permit

This command sets whether packets that

match this rule are dropped or allowed

through.

Config edit firewall set #> rule active no>

This command sets whether a rule is enabled

or not.

Config edit firewall set #> rule protocol

This command sets the protocol specification

number made in this rule for ICMP.

Config edit firewall set #> rule log match | not-match | both>

This command sets the P-660HWP-Dx to log

traffic that matches the rule, doesn't match,

both or neither.

Config edit firewall set #> rule alert no>

This command sets whether or not the P-

660HWP-Dx sends an alert e-mail when a

DOS attack or a violation of a particular rule

occurs.

config edit firewall set #> rule srcaddr-
single

This command sets the rule to have the P-

660HWP-Dx check for traffic with this

individual source address.

config edit firewall set #> rule srcaddr-
subnet mask>

This command sets a rule to have the P-

660HWP-Dx check for traffic from a particular

subnet (defined by IP address and subnet

mask).

config edit firewall set #> rule srcaddr-range
address>

This command sets a rule to have the P-

660HWP-Dx check for traffic from this range

of addresses.

Table 168 Firewall Commands (continued)

FUNCTION

COMMAND

DESCRIPTION