188
Firewall Commands
E-DOC-CTC-20040216-0002 v1.0
firewall rule list
Show a list of rules.
SYNTAX:
where:
EXAMPLE:
RELATED COMMANDS:
firewall rule list
[chain = <string>]
chain
The name of the chain for which the rules must be listed.
Note
If this parameter is not specified, all rules for all chains
are shown.
OPTIONAL
=>firewall rule list
chain=Telnet
:firewall
rule create chain=Telnet index=0 srcintfgrp=lan src=10.0.0.0/8 |
dst=200.200.200.1/32 prot=tcp srcport=1024 srcportend=65535 dstport=telnet |
action=accept
:firewall
rule create chain=Telnet index=1 srcintfgrp=wan |
src=200.200.200.1/32 dst=10.0.0.0/8 prot=tcp srcport=telnet dstport=1024 |
dstportend=65535 action=accept
:firewall
rule create chain=Telnet index=2 action=drop
=>firewall rule list
:firewall
rule create chain=source index=0 dstintfgrp=!wan action=accept
:firewall
rule create chain=source index=1 prot=udp dstport=dns |
action=accept
:firewall
rule create chain=source index=2 prot=udp dstport=67 action=accept
:firewall
rule create chain=source index=3 action=drop
:firewall
rule create chain=forward index=0 srcintfgrp=wan dstintfgrp=wan |
action=drop
:firewall
rule create chain=sink index=0 srcintf=eth0 srcbridgeport=1 |
action=accept
:firewall
rule create chain=sink index=1 srcintfgrp=!wan action=accept
:firewall
rule create chain=sink index=2 prot=udp dstport=dns action=accept
:firewall
rule create chain=sink index=3 prot=udp dstport=68 action=accept
:firewall
rule create chain=sink index=4 action=drop
:firewall
rule create chain=Telnet index=0 srcintfgrp=lan src=10.0.0.0/8 |
dst=200.200.200.1/32 prot=tcp srcport=1024 srcportend=65535 dstport=telnet |
action=accept
:firewall
rule create chain=Telnet index=1 srcintfgrp=wan |
src=200.200.200.1/32 dst=10.0.0.0/8 prot=tcp srcport=telnet dstport=1024 |
dstportend=65535 action=accept
:firewall
rule create chain=Telnet index=2 action=drop
=>
Clear statistics for a given rule.
Create a rule.
Delete a specified rule in a chain.
Delete all rules in a chain.
Show statistics for all (or a specified) chains' rules.
Summary of Contents for SpeedTouch 608
Page 1: ...SpeedTouch 608 Business DSL Routers CLI Reference Guide Release R4 2 7 600 SERIES...
Page 2: ......
Page 3: ...SpeedTouch 608 CLI Reference Guide Release R4 2 7...
Page 66: ...64 Bridge Commands E DOC CTC 20040216 0002 v1 0...
Page 84: ...82 Config Commands E DOC CTC 20040216 0002 v1 0...
Page 126: ...124 DHCP Commands E DOC CTC 20040216 0002 v1 0...
Page 170: ...168 ETHoA Commands E DOC CTC 20040216 0002 v1 0...
Page 234: ...232 IPoA Commands E DOC CTC 20040216 0002 v1 0...
Page 244: ...242 IPQoS Commands E DOC CTC 20040216 0002 v1 0...
Page 356: ...354 Phonebook Commands E DOC CTC 20040216 0002 v1 0...
Page 372: ...370 PPPoA Commands E DOC CTC 20040216 0002 v1 0...
Page 394: ...392 PPPoE Commands E DOC CTC 20040216 0002 v1 0...
Page 410: ...408 QoSBook Commands E DOC CTC 20040216 0002 v1 0...
Page 436: ...434 Software Commands E DOC CTC 20040216 0002 v1 0...
Page 444: ...442 Switch Commands E DOC CTC 20040216 0002 v1 0...
Page 454: ...452 System Commands E DOC CTC 20040216 0002 v1 0...
Page 460: ...458 Systemlog Commands E DOC CTC 20040216 0002 v1 0...
Page 468: ...466 UPnP Commands E DOC CTC 20040216 0002 v1 0...
Page 488: ...486 Supported Key Names E DOC CTC 20040216 0002 v1 0...
Page 489: ......