Firewall Commands
E-DOC-CTC-20060414-0006 v1.0
323
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}>
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
firewall rule delete
Delete a firewall rule.
expr list
List the expressions.
Содержание SpeedTouch 716v5 (WL)
Страница 2: ......
Страница 3: ...SpeedTouch 716v5 WL CLI Reference Guide...
Страница 32: ...ADSL Commands E DOC CTC 20060414 0006 v1 0 10...
Страница 49: ...ATM Commands E DOC CTC 20060414 0006 v1 0 27 atm bundle flush Flush all bundles SYNTAX atm bundle flush...
Страница 63: ...ATM Commands E DOC CTC 20060414 0006 v1 0 41 atm oam ping Send ATM loopback cells...
Страница 88: ...AutoPVC Commands E DOC CTC 20060414 0006 v1 0 66...
Страница 96: ...Config Commands E DOC CTC 20060414 0006 v1 0 74...
Страница 122: ...CWMP Commands E DOC CTC 20060414 0006 v1 0 100...
Страница 134: ...DHCP Commands E DOC CTC 20060414 0006 v1 0 112 dhcp client ifdelete Delete a DHCP client...
Страница 202: ...DNS Commands E DOC CTC 20060414 0006 v1 0 180 dns client flush Remove all DNS servers SYNTAX dns client flush...
Страница 240: ...DynDNS Commands E DOC CTC 20060414 0006 v1 0 218 dyndns flush Delete all the dynamic DNS clients SYNTAX dyndns flush...
Страница 252: ...E DOC CTC 20060414 0006 v1 0 230 Env Commands env flush Flush all the non system environment variables SYNTAX env flush...
Страница 266: ...Eth Commands E DOC CTC 20060414 0006 v1 0 244 eth bridge clear Clear the bridge statistics SYNTAX eth bridge clear...
Страница 317: ...Expr Commands E DOC CTC 20060414 0006 v1 0 295 expr flush Flush all the expressions SYNTAX expr flush...
Страница 319: ...Expr Commands E DOC CTC 20060414 0006 v1 0 297 EXAMPLE 1...
Страница 321: ...Expr Commands E DOC CTC 20060414 0006 v1 0 299 EXAMPLE 2...
Страница 326: ...Expr Commands E DOC CTC 20060414 0006 v1 0 304...
Страница 330: ...Firewall Commands E DOC CTC 20060414 0006 v1 0 308 firewall clear Flush the firewall configuration SYNTAX firewall clear...
Страница 334: ...Firewall Commands E DOC CTC 20060414 0006 v1 0 312 firewall chain flush Flush all chains SYNTAX firewall chain flush...
Страница 357: ...GRP Commands E DOC CTC 20060414 0006 v1 0 335 grp flush Flush the GRP interface settings and parameters SYNTAX grp flush...
Страница 364: ...GRP Commands E DOC CTC 20060414 0006 v1 0 342...
Страница 386: ...IDS Commands E DOC CTC 20060414 0006 v1 0 364...
Страница 389: ...IGMP Commands E DOC CTC 20060414 0006 v1 0 367 igmp host flush Flush the IGMP settings SYNTAX igmp host flush...
Страница 408: ...Interface Commands E DOC CTC 20060414 0006 v1 0 386...
Страница 436: ...IP Commands E DOC CTC 20060414 0006 v1 0 414 ip auto flush Flush the autoIP interfaces SYNTAX ip auto flush...
Страница 450: ...IP Commands E DOC CTC 20060414 0006 v1 0 428...
Страница 472: ...Label Commands E DOC CTC 20060414 0006 v1 0 450 label chain flush Flush all label chains SYNTAX label chain flush...
Страница 486: ...Label Commands E DOC CTC 20060414 0006 v1 0 464...
Страница 504: ...MBUS Commands E DOC CTC 20060414 0006 v1 0 482...
Страница 533: ...NAT Commands E DOC CTC 20060414 0006 v1 0 511 nat flush Flush the current NAT configuration SYNTAX nat flush...
Страница 551: ...PPP Commands E DOC CTC 20060414 0006 v1 0 529 RELATED COMMANDS ppp ifdetach Detach a PPP interface...
Страница 558: ...PPP Commands E DOC CTC 20060414 0006 v1 0 536 RELATED COMMANDS ppp ifattach Attach a PPP interface...
Страница 578: ...PPTP Commands E DOC CTC 20060414 0006 v1 0 556...
Страница 591: ...Service Commands E DOC CTC 20060414 0006 v1 0 569 service host flush Flush all host services SYNTAX service host flush...
Страница 606: ...Service Commands E DOC CTC 20060414 0006 v1 0 584...
Страница 622: ...SNMP Commands E DOC CTC 20060414 0006 v1 0 600...
Страница 632: ...Software Commands E DOC CTC 20060414 0006 v1 0 610 software version Display the software version SYNTAX software version...
Страница 660: ...Upgrade Commands E DOC CTC 20060414 0006 v1 0 638...
Страница 752: ...Wireless Commands E DOC CTC 20060414 0006 v1 0 730 wireless wds flush Flush all WDS stations SYNTAX wireless wds flush...
Страница 768: ...System Logging Messages E DOC CTC 20060414 0006 v1 0 746...
Страница 778: ...Supported Key Names E DOC CTC 20060414 0006 v1 0 756...
Страница 794: ...E DOC CTC 20060414 0006 v1 0 772 Index...
Страница 795: ......