Chapter 5
Setup and Configuration
• firewall is the name of the firewall
• name is the name of the masquerade or SNAT setting
Type commit and press Enter to save the changes, or type revert and press Enter to abort.
3.
Section 5.17.14
Managing Rules
Rules establish exceptions to the default firewall policies for certain types of traffic, sources or destinations. Each
rule defines specific criteria. If an incoming packet matches that criteria, the default policy is overridden and the
action defined by the rule is applied.
The following sections describe how to configure and manage rules for a firewall:
•
Section 5.17.14.1, "Viewing a List of Rules"
•
Section 5.17.14.2, "Adding a Rule"
•
Section 5.17.14.3, "Configuring the Source Zone"
•
Section 5.17.14.4, "Configuring the Destination Zone"
•
Section 5.17.14.5, "Deleting Rules"
Section 5.17.14.1
Viewing a List of Rules
To view a list of rules, type:
show running-config security firewall fwconfig firewall fwrule
Where:
• firewall is the name of the firewall
If rules have been configured, a table or list similar to the following example appears:
ruggedcom# show running-config security firewall fwconfig firewall1 fwrule
security
firewall
fwconfig firewall1
fwrule Rule1
action accept
source-zone man
destination-zone man
no description
!
fwrule Rule2
action accept
source-zone man
destination-zone man
no description
!
!
!
!
If no rules have been configured, add rules as needed. For more information, refer to
a
Rule".
290
RUGGEDCOM ROX II
CLI User Guide
Section 5.17.14.2, "Adding
Managing Rules