7 Firewall Commands
138
/ 268
3EC 16982 ADAA TCZZA Ed. 01
firewall rule list
Show a list of rules.
SYNTAX:
firewall rule list
[chain = <string>]
[chain]
The name of the chain to list the rules of.
In case this parameter is not specified all rules for all chains are
shown.
OPTIONAL
EXAMPLE INPUT AND OUTPUT:
=>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=65535dstport=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=65535dstport=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
=>
RELATED COMMANDS:
firewall rule clear
Clear statistics of a given rule.
firewall rule create
Create a rule.
firewall rule delete
Delete a specified rule.
firewall rule flush
Delete all rules in a chain.
firewall rule stats
Show statistics for all (or a specified) chains' rules.
Summary of Contents for SPEED TOUCH 570
Page 1: ...3EC 16982 ADAA TCZZA Ed 01 SPEED TOUCH 570 CLI Reference Guide Wireless ADSL Router...
Page 4: ...Contents 3EC 16982 ADAA TCZZA Ed 01 4 268...
Page 7: ...7 268 3EC 16982 ADAA TCZZA Ed 01 Alcatel SpeedTouch 570 CLI Navigation...
Page 8: ...8 268 3EC 16982 ADAA TCZZA Ed 01...
Page 18: ...18 268 3EC 16982 ADAA TCZZA Ed 01...
Page 19: ...19 268 3EC 16982 ADAA TCZZA Ed 01 Alcatel SpeedTouch 570 CLI Command Description...
Page 20: ...20 268 3EC 16982 ADAA TCZZA Ed 01...
Page 38: ...2 Bridge Commands 38 268 3EC 16982 ADAA TCZZA Ed 01...
Page 162: ...8 IP Commands 162 268 3EC 16982 ADAA TCZZA Ed 01...
Page 188: ...10 NAT Commands 188 268 3EC 16982 ADAA TCZZA Ed 01...
Page 198: ...11 Phonebook Commands 198 268 3EC 16982 ADAA TCZZA Ed 01...
Page 238: ...15 System Commands 238 268 3EC 16982 ADAA TCZZA Ed 01...
Page 263: ...263 268 3EC 16982 ADAA TCZZA Ed 01 Alcatel SpeedTouch 570 CLI Command Index...
Page 264: ...264 268 3EC 16982 ADAA TCZZA Ed 01...