∙
Filtering on source MAC address
on page 25
∙
∙
on page 27
∙
∙
∙
Configuring stateful behavior per rule set
on page 29
Filtering on source IP address
The following figure shows how to define a firewall instance that contains one rule, which filters packets only on source IP address. This
rule denies packets coming from the R2 router. It then applies the firewall instance to packets inbound on the dp0p1p1 interface.
To create an instance that filters on source IP address, perform the following steps in configuration mode.
TABLE 1 Filtering on source IP
Step
Command
Create the configuration node for the FWTEST-1 firewall instance
and its rule 1. This rule matches fragmented packets.
vyatta@R1# set security firewall name FWTEST-1 rule 1
fragment
Define the action of this rule.
vyatta@R1# set security firewall name FWTEST-1 rule 1
action accept
Define a rule that filters traffic on the 176.16.0.26 source IP address.
vyatta@R1# set security firewall name FWTEST-1 rule 1
source address 172.16.0.26
Apply FWTEST-1 to inbound packets on dp0p1p1.
vyatta@R1# set interfaces dataplane dp0p1p1 firewall in
FWTEST-1
Commit the configuration.
vyatta@R1# commit
Show the configuration.
vyatta@R1# show security firewall name FWTEST-1
rule 1 {
action accept
source {
address 172.16.0.26
}
}
vyatta@R1# show interfaces dataplane dp0p1p1
address 172.16.1.1/24
firewall FWTEST-1 {
in {
}
}
Filtering on source and destination IP addresses
The following example shows how to define another firewall instance. This instance contains one rule, which filters packets on both
source and destination IP addresses. The rule accepts packets leaving R5 through dp0p1p2 using 10.10.30.46 and destined for
10.10.40.101. It then applies the firewall instance to packets outbound from the 1 virtual interface (vif 1) on the dp0p1p2 interface.
To create an instance that filters on source and destination IP addresses, perform the following steps in configuration mode.
Configuration Examples
Brocade 5600 vRouter Firewall Configuration Guide
22
53-1004253-01
Содержание 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 ...