
E-DOC-CTC-20061027-0009 v2.0
Chapter 15
332
firewall rule add
Add a firewall rule.
SYNTAX:
where:
RELATED COMMANDS:
firewall rule add
chain = <chain name>
[index = <number>]
[name = <string>]
[clink = <chain name>]
[srcintf [!]= <string>]
[srcip [!]= <string>]
[dstip [!]= <string>]
[serv [!]= <string>]
[log = <{disabled | enabled}>]
[state = <{disabled | enabled}>]
action = <{accept|deny|drop|reset|count|link}>
i
If a value is preceded by a “!”, it means NOT.
For example “srcintf=!wan” means “if the source interface is different from WAN”.
chain
The name of the chain which contains the rule.
REQUIRED
index
The number of the rule in the chain.
OPTIONAL
name
The name of the new rule.
OPTIONAL
clink
The name of the chain to be parsed when this rule applies.
OPTIONAL
srcintf
The name of the source interface expression.
OPTIONAL
srcip
The name of the source IP expression.
OPTIONAL
dstintf
The name of the destination interface expression.
OPTIONAL
dstip
The name of the destination IP expression.
OPTIONAL
serv
The name of the service expression.
OPTIONAL
log
Disable or enable logging is done when this rule applies.
OPTIONAL
state
Enable or disable this rule.
OPTIONAL
action
The action to be taken when this rule applies ('link' when clink is used).
REQUIRED
Summary of Contents for DV7213
Page 1: ...Thomson ST7G DV7213 ST790 CLI Reference Guide...
Page 2: ......
Page 3: ...Thomson ST7G DV7213 ST790 CLI Reference Guide R6 2...
Page 24: ...E DOC CTC 20061027 0009 v2 0 Contents xx...
Page 26: ...E DOC CTC 20061027 0009 v2 0 About this CLI Reference Guide 2...
Page 126: ...E DOC CTC 20061027 0009 v2 0 Chapter 6 102...
Page 204: ...E DOC CTC 20061027 0009 v2 0 Chapter 8 180...
Page 230: ...E DOC CTC 20061027 0009 v2 0 Chapter 9 206...
Page 248: ...E DOC CTC 20061027 0009 v2 0 Chapter 10 224...
Page 264: ...E DOC CTC 20061027 0009 v2 0 Chapter 11 240...
Page 334: ...E DOC CTC 20061027 0009 v2 0 Chapter 14 310...
Page 378: ...E DOC CTC 20061027 0009 v2 0 Chapter 16 354...
Page 422: ...E DOC CTC 20061027 0009 v2 0 Chapter 20 398...
Page 478: ...E DOC CTC 20061027 0009 v2 0 Chapter 22 454...
Page 493: ...E DOC CTC 20061027 0009 v2 0 Chapter 23 469 label rule list Display a list of label rules...
Page 504: ...E DOC CTC 20061027 0009 v2 0 Chapter 23 480...
Page 580: ...E DOC CTC 20061027 0009 v2 0 Chapter 28 556...
Page 596: ...E DOC CTC 20061027 0009 v2 0 Chapter 30 572...
Page 618: ...E DOC CTC 20061027 0009 v2 0 Chapter 31 594...
Page 634: ...E DOC CTC 20061027 0009 v2 0 Chapter 33 610...
Page 650: ...E DOC CTC 20061027 0009 v2 0 Chapter 34 626...
Page 660: ...E DOC CTC 20061027 0009 v2 0 Chapter 35 636...
Page 701: ...E DOC CTC 20061027 0009 v2 0 Chapter 39 677 mlp role list Display the roles...
Page 734: ...E DOC CTC 20061027 0009 v2 0 Chapter 40 710...
Page 788: ...E DOC CTC 20061027 0009 v2 0 Chapter 43 System Logging Messages 764...
Page 798: ...E DOC CTC 20061027 0009 v2 0 Chapter 44 Supported Key Names 774...
Page 813: ......