TABLE 9 Rejecting traffic based on groups of addresses, networks, and ports (continued)
Step
Command
address-group SERVERS {
address 10.0.10.0/24
address 1.1.1.7
}
port-group PORTS {
port 22
port http
}
}
vyatta@R1#
Specify a reject action within a firewall instance.
vyatta@R1# set security firewall name REJECT-
GROUPS rule 10 action drop
Specify an address group to match as a destination.
vyatta@R1# set security firewall name REJECT-
GROUPS rule 10 destination address SERVERS
Specify a port group to match as a destination.
vyatta@R1# set security firewall name REJECT-
GROUPS rule 10 destination port PORTS
Commit the configuration.
vyatta@R1# commit
Show the configuration.
vyatta@R1# show security firewall name REJECT-
GROUPS
rule 10{
action drop
destination {
address SERVERS
port PORTS
}
source {
address SERVERS
}
}
vyatta@R1#
Stateful behavior
Stateless firewalls filter packets in isolation, based on static source and destination information. In contrast, stateful firewalls track the
state of network connections and traffic flows and allow or restrict traffic based on whether its connection state is known and authorized.
For example, when an initiation flow is allowed in one direction, the responder flow is automatically and implicitly allowed in the return
direction.
By default, the vRouter firewall is stateless. If you want the firewall to operate statefully, you have two choices:
∙
You can leave the firewall operating statelessly in general and specify stateful behavior per rule set by configuring state rules
within the rule set. This configuration is described in
Configuring stateful behavior per rule set
∙
You can enable global stateful behavior by configuring global state policies. This configuration is described in
on page 30.
Configuring stateful behavior per rule set
Even if you want the firewall to operate statelessly in general, you can still configure state rules within a specific rule set.
Configuration Examples
Brocade 5600 vRouter Firewall Configuration Guide
53-1004253-01
29
Содержание 5600 vRouter
Страница 6: ...Brocade 5600 vRouter Firewall Configuration Guide 6 53 1004253 01 ...
Страница 10: ...Preface Brocade 5600 vRouter Firewall Configuration Guide 10 53 1004253 01 ...
Страница 12: ...About This Guide Brocade 5600 vRouter Firewall Configuration Guide 12 53 1004253 01 ...
Страница 20: ...Firewall Overview Brocade 5600 vRouter Firewall Configuration Guide 20 53 1004253 01 ...
Страница 96: ...Zone Based Firewall Commands Brocade 5600 vRouter Firewall Configuration Guide 96 53 1004253 01 ...
Страница 100: ...ICMPv6 Types Brocade 5600 vRouter Firewall Configuration Guide 100 53 1004253 01 ...