Firewall Rule List - THOMSON speedtouch 610 Cli Reference Manual

Business dsl routers
Hide thumbs Also See for speedtouch 610:
Table of Contents

Advertisement

Firewall Commands

firewall rule list

Show a list of rules.
SYNTAX:
firewall rule list
where:
chain
EXAMPLE:
=>firewall rule list
: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
=>
RELATED COMMANDS:
firewall rule clear
firewall rule create
firewall rule delete
firewall rule flush
firewall rule stats
198
[chain = <string>]
The name of the chain for which the rules must be listed.
If this parameter is not specified, all rules for all chains
Note
are shown.
chain=Telnet
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.
OPTIONAL
E-DOC-CTC-20040210-0028 v3.0

Advertisement

Table of Contents
loading

Table of Contents