firewall rule add
Add a rule.
SYNTAX:
firewall rule add
where:
chain
index
name
clink
srcintf [!]
srcip [!]
dstintf [!]
dstip [!]
serv [!]
DMS-CTC-20101206-0049 v1.0.Copyright 2011Technicolor. All rights reserved.
This document contains Technicolor proprietary and confidential information. Passing on and copying of this document, use,
extraction and communication of its contents, is not permitted without written authorization from Technicolor.
chain = <chain name>
[index = <number>]
[name = <string>]
[clink = <chain name>]
[srcintf [!] = <{wan|local|lan|tunnel|dmz|
guest}>]
[srcip [!] = <{private|ssdp_ip|mdap_ip|
192.168.1.253}>]
[dstintf [!] = <{wan|local|lan|tunnel|dmz|
guest}>]
[dstip [!] = <{private|ssdp_ip|mdap_ip|
192.168.1.253}>]
[serv [!] = <{icmp|igmp|ftp|telnet|http|
httpproxy|https|RPC|NBT|SMB|imap|esp|ah|
ike|DiffServ|sip|h323|dhcp|rtsp|ssdp_serv|
mdap_serv|syslog}>]
[length [!] = <{}>]
[log = <{disabled|enabled}>]
[state = <{disabled|enabled}>]
action = <{accept|deny|drop|reset|count|link}>
The name of the chain which contains the rule.
The index of the rule in the chain.
The name of the new rule.
The name of the chain to be parsed when this rule applies.
The name of the source interface expression.
If a value is preceded by a "!", it means NOT.
The name of the source ip expression.
If a value is preceded by a "!", it means NOT.
The name of the destination interface expression.
If a value is preceded by a "!", it means NOT.
The name of the destination ip expression.
If a value is preceded by a "!", it means NOT.
The name of the service expression.
If a value is preceded by a "!", it means NOT.
FIREWALL COMMANDS
REQUIRED
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
449