Page 2
United States government. The authors and Brocade Communications Systems, Inc. assume no liability or responsibility to any person or entity with respect to the accuracy of this document or any loss, cost, liability, or damages arising from the information contained herein or the computer programs that accompany it.
Filtering traffic between the transit zones..........30 Using firewall with VRRP interfaces..............32 Applying a rule set to a VRRP interface..........32 Using VRRP with a zone-based firewall..........33 Viewing firewall information................34 Showing firewall instance information..........34 Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Page 4
<zone> default-action <action>......81 security zone-policy zone <zone> description <description>......82 security zone-policy zone <from-zone> to <to-zone>........83 security zone-policy zone <from-zone> to <to-zone> firewall <name>..84 security zone-policy zone <zone> interface <interface-name>.....85 Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Page 5
ICMP Types..........................87 ICMPv6 Types......................... 89 List of Acronyms........................93 Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Identifies command names, keywords, and command options. italic text Identifies a variable. value In Fibre Channel products, a fixed value provided as input to a command option is printed in plain text, for example, --show WWN. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
DANGER A Danger statement indicates conditions or situations that can be potentially lethal or extremely hazardous to you. Safety labels are also attached directly to products to warn of these conditions or situations. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
OEM/Solution Provider for all of your product support needs. ® • OEM/Solution Providers are trained and certified by Brocade to support Brocade products. • Brocade provides backline support for issues that cannot be resolved by the OEM/Solution Provider. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
• By sending your feedback to documentation@brocade.com. Provide the publication title, part number, and as much detail as possible, including the topic heading and page number if applicable, as well as your suggestions for improvement. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
About This Guide This guide describes firewall functionality on the Brocade 5600 vRouter (referred to as a virtual router, vRouter, or router in the guide). Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Page 12
About This Guide Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
When fragmented packets arrive on an interface without a firewall configured and exits on an interface with an output firewall configured, the fragmented packets are not inspected for L4 (TCP, UDP, ICMP, Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Note that you should take care in employing more than one “exclusion” rule, that is, a rule that uses the negation operator (exclamation mark [!]) to exclude a rule from treatment. Rules are evaluated sequentially, and a sequence of exclusion rules could result in unexpected behavior. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
TCP strict tracking enabled—The above validation is performed. In addition, the validation against the correct TCP sequencing of flags (or validation of TCP stateful transitions) is also performed. The following stateful transitions are invalid when a packet is received with the following flag pattern: Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
The following figure shows how traffic flows through the firewall, NAT, and routing services within the vRouter. Notice the order of firewall instances, destination Network Address Translation (DNAT), routing decisions, and source Network Address Translation (SNAT). Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
• The arrows from one zone to another zone represent traffic-filtering policies that are applied to traffic flowing between zones. • Traffic flowing between LAN 1 and LAN 2 remains within a single security zone. Thus, traffic from LAN1 to LAN2, and conversely, flows unfiltered. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Page 18
‐ From private to DMZ ‐ From public to DMZ ‐ From private to public ‐ From DMZ to public ‐ From public to private ‐ From DMZ to private Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
22 • Filtering on source MAC address on page 23 • Excluding an address on page 24 • Matching TCP flags on page 25 • Matching ICMP type names on page 25 Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
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. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
FWTEST-3 rule 1 Define a rule that filters TCP traffic. protocol tcp vyatta@R1# set security firewall name FWTEST-3 rule 1 Define a rule that filters traffic destined for the Telnet service. destination port telnet Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
172.16.0.0/24 network. vyatta@R1# set interfaces dataplane dp0p1p2 vif 40 Apply FWTEST-4 to packets bound for this router arriving firewall in FWTEST-4 through vif 40 on dp0p1p2. vyatta@R1# commit Commit the configuration. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
10 destination address !192.168.1.100 destination address that matches the rule. vyatta@R1# Apply the NEGATED-EXAMPLE instance to inbound set interfaces dataplane dp0p1p1 firewall in NEGATED- packets on dp0p1p1. EXAMPLE vyatta@R1# commit Commit the configuration. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Matching ICMP type names Packets can be filtered for ICMP type names. For example, to create a rule that allows only ICMP echo request packets, perform the following steps in configuration mode. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
REJECT-GROUPS rule 10 Specify a reject action within a firewall instance. action drop vyatta@R1# set security firewall name REJECT-GROUPS rule 10 Specify an address group to match as a destination. destination address SERVERS Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Creating a per-rule set state rule Step Command vyatta@R1# set security firewall name TEST1 description Create the configuration node for the TEST1 rule set "Filter traffic statefully" and give a description for the rule set. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Show the state policy configuration. icmp Zone-based firewall The vRouter also supports a zone-based model. The following figure shows a zone-based configuration with three user-defined zones. The examples that follow show the configuration for this diagram. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Filtering traffic between the transit zones The first step in setting up zone-based traffic filtering is to create zone policies, as shown in the following example. To create the zone policies, perform the following steps in configuration mode. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Page 31
PUBLIC zone" vyatta@R1# set security firewall name Create a rule to accept all traffic sent to the public to_public rule 1 action accept zone. vyatta@R1# commit Commit the configuration. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
• It is a member of VRRP group 15. • It has rule set FWTEST-1 applied for inbound traffic. To apply the rule set to the VRRP interface, perform the following steps in configuration mode. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
To use VRRP interface in a zone you must attach the physical interface on which VRRP is enabled. The configuration is the same as zone configuration on a physical interface, the only difference is that VRRP is running on this interface. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
You can view firewall information in configuration nodes by using the show command in configuration mode. The following example shows how to display firewall configuration in configuration mode with security firewall on page 39. vyatta@R1# show security firewall name FWTEST-1 { rule 1 { Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
When no rule is specified, the counters are cleared for all rules in the rule set. Modes Operational mode Usage Guidelines Use this command to clear the counters associated with a firewall rule set or a rule within a firewall rule set. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the set form of this command to create a firewall configuration. Use the delete form of this command to delete a firewall configuration. Use the show form of this command to display a firewall configuration. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Active on (dp0p192p1) rule action proto packets bytes ---- ------ ----- ------- ----- allow condition - stateful proto tcp all allow condition - stateful proto udp all allow icmp condition - stateful proto icmp all Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the set form of this command to enable or disable responses to pings. Use the delete form of this command to restore the default behavior of responding to pings. Use the show form of this command to display the state of responding to pings. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the delete form of this command to restore the default behavior of not responding to broadcast ICMP ICMP echo and time-stamp request messages. Use the show form of this command to display the behavior to broadcast ICMP ICMP echo and time- stamp request messages. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the delete form of this command to restore the default behavior. Use the show form of this command to display the state regarding the generation of SNMP traps on firewall configuration changes. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the set form of this command to configure a global statefulness policy for firewall. Use the delete form of this command to delete a global statefulness policy for firewall. Use the show form of this command to display a global statefulness policy for firewall. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the set form of this command to create and name a firewall rule set. Use the delete form of this command to delete to a firewall rule set. Use the show form of this command to display a firewall rule set. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the set form of this command to define an IP firewall rule. Use the delete form of this command to delete a firewall rule. Use the show form of this command to display a firewall rule. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the set form of this command to define a firewall rule set. Use the delete form of this command to delete a firewall rule set. Use the show form of this command to display a firewall rule set. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the set form of this command to provide brief description of a firewall group. Use the delete form of this command to delete a description. Use the show form of this command to display a description. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the set form of this command to define a firewall rule within a firewall rule set. Use the delete form of this command to delete a rule from a firewall rule set. Use the show form of this command to display a rule from a firewall rule set. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the set form of this command to define a firewall rule within a firewall rule set. Use the delete form of this command to delete a rule from a firewall rule set. Use the show form of this command to display a rule from a firewall rule set. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the set form of this command to provide brief description of a firewall rule. Use the delete form of this command to delete the description of a firewall rule. Use the show form of this command to display the description of a firewall rule. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
You can also negate the entire list by prefixing it with the negation operator (exclamation mark [!]); for example, . When both an address and a port are specified, the packet is considered a match only if both the address and the port match. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Page 54
Use the delete form of this command to delete a destination address, MAC address, or destination port from a firewall rule set. Use the show form of this command to display a destination address, MAC address, or destination port from a firewall rule set. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the set form of this command to disable a firewall rule Use the delete form of this command to delete a firewall rule. Use the show form of this command to display a firewall rule. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the set form of this command to define the DSCP value to match. Use the delete form of this command to delete the DSCP value. Use the show form of this command to display the DSCP value for a firewall rule set. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the set form of this command to define the Ethernet type to match. Use the delete form of this command to delete the Ethernet type. Use the show form of this command to display the Ethernet type for a firewall rule set. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the delete form of this command to delete the matching of fragmented packets from a firewall rule set. Use the show form of this command to display the matching of fragmented packets from a firewall rule set. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the delete form of this command to delete a ICMP firewall rule from a firewall rule set. Use the show form of this command to display a ICMP firewall rule from a firewall rule set. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the delete form of this command to delete a ICMP firewall rule from a firewall rule set. Use the show form of this command to display a ICMP firewall rule from a firewall rule set. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the delete form of this command to delete the IPv6 route type for a firewall rule set. Use the show form of this command to display the IPv6 route type for a firewall rule set. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the set form of this command to enable or disable logging of firewall rule actions. Use the delete form of this command to delete the logging value for a rule. Use the show form of this command to display the logging value for a rule. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the delete form of this command to delete the packet marking action within a firewall rule set. Use the show form of this command to display the packet marking action within a firewall rule set. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the set form of this command to define the PCP within a firewall rule set. Use the delete form of this command to delete the PCP within a firewall rule set. Use the show form of this command to display the PCP within a firewall rule set. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Packets are marked with the given value if policing is exceeded. pcp pcp-number The 802.1 priority-code point number. The number can range from 0 through 7. Packets are marked with the given value if policing is exceeded. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Page 66
Use the set form of this command to enable or disable policing of firewall rule actions. Use the delete form of this command to delete the policing value for a rule. Use the show form of this command to display the policing value for a rule. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the delete form of this command to delete the protocol type to match for a firewall rule. Use the show form of this command to display the protocol type to match for a firewall rule. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
(exclamation mark [!]); for example, . When both an address and a port are specified, the packet is considered a match only if both the address and the port match. Modes Configuration mode Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Page 69
Use the delete form of this command to delete a source address, MAC address, or source port from a firewall rule set. Use the show form of this command to display a source address, MAC address, or source port from a firewall rule set. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the set form of this command to enable or disable the state for the firewall rule. Use the delete form of this command to delete the state of a firewall rule. Use the show form of this command to display the state of a firewall rule. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the delete form of this command to delete the TCP flag in a packet of a firewall rule. Use the show form of this command to display the TCP flag in a packet of a firewall rule. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
For example, when an initiation flow is allowed in one direction, the stateful firewall automatically allows responder flows in the return direction. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Page 73
Use the delete form of this command to delete the protocol used for logging session events. Use the show form of this command to display the protocol used for logging session events. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the show form of this command to display the configuration of TCP strict tracking of stateful firewall rules for traffic associated with established connections, traffic related to established connections, and invalid traffic. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the delete form of this command to delete a firewall instance, or rule set, from an interface. Use the show form of this command to display the configuration of a firewall instance, or rule set, for an interface. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Defines a group of IP addresses that are referenced in firewall rules. (Refer to Brocade 5600 vRouter Basic Routing Reference Guide.) resources group port-group Defines a group of ports that are referenced in firewall rules. (Refer to Brocade 5600 vRouter Basic Routing Reference Guide.)
Clears firewall zone statistics. Syntax clear zone-policy Command Default Statistics are cleared on all firewall zones. Modes Operational mode Usage Guidelines Use this command to clear statistics for firewall rules that are applied to zones. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
The following example shows how to display security zone policies for all security zones on the R1 router. vyatta@R1:~$ show zone-policy ------------------- Name: LAN1 Interfaces: dp0p256p1 To Zone: name firewall ---- -------- LAN2 fw_1 ------------------- Name: LAN2 Interfaces: dp0p192p1 To Zone: name firewall ---- -------- LAN1 fw_2 Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the delete form of this command to delete a security zone. Use the show form of this command to display the configuration of a security zone. See show zone- policy on page 79. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the delete form of this command to restore the default action, that is, traffic is dropped silently. Use the show form of this command to display the configuration of the default action. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the set form of this command to provide a description. Use the delete form of this command to delete a description. Use the show form of this command to display the description. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the set form of this command to specify a source zone. Use the delete form of this command to delete a source zone. Use the show form of this command to display the configuration of a source zone. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the delete form of this command to delete a rule set from the packet filters defined for a from-zone. Use the show form of this command to display which packet filter, if any, has been applied to a from- zone. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Use the set form of this command to add an interface to a zone. Use the delete form of this command to delete an interface from a zone. Use the show form of this command to display which interfaces are members of a zone. Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Host is unreachable for ToS communication-prohibited Communication is administratively prohibited host-precedence-violation Requested precedence is not permitted. precedence-cutoff Precedence is lower than the required minimum. 4 - Source quench source-quench Source is quenched (congestion control) Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Fragment reassembly time exceeded 4 - Parameter problem parameter-problem bad-header Erroneous header field encountered unknown-header-type Unrecognized Next Header type encountered unknown-option Unrecognized IPv6 option encountered 128 - Echo request echo-request (ping) Echo request Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Page 90
Destination network is unknown host-unknown Destination host is unknown network-prohibited Network is administratively prohibited host-prohibited Host is administratively is prohibited ToS-network-unreachable Network is unreachable for ToS ToS-host-unreachable Host is unreachable for ToS Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Page 91
14 - Timestamp reply timestamp-reply Reply to a request for a timestamp 15 - Information request Information request 16 - Information reply Information reply 17 - Address mask request address-mask-request Address mask request Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Domain Name System DSCP Differentiated Services Code Point Digital Subscriber Line eBGP external BGP Amazon Elastic Block Storage Amazon Elastic Compute Cloud Exterior Gateway Protocol ECMP equal-cost multipath Encapsulating Security Payload Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Page 94
Link Layer Discovery Protocol medium access control mGRE multipoint GRE Management Information Base Multicast Listener Discovery MLPPP multilink PPP MRRU maximum received reconstructed unit maximum transmission unit Network Address Translation NBMA Non-Broadcast Multi-Access Neighbor Discovery Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Page 95
Reverse Path Forwarding Rivest, Shamir, and Adleman receive Amazon Simple Storage Service SLAAC Stateless Address Auto-Configuration SNMP Simple Network Management Protocol SMTP Simple Mail Transfer Protocol SONET Synchronous Optical Network Shortest Path Tree Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Page 96
User Datagram Protocol virtual hard disk virtual interface VLAN virtual LAN Amazon virtual private cloud virtual private network VRRP Virtual Router Redundancy Protocol wide area network wireless access point Wired Protected Access Brocade 5600 vRouter Firewall Reference Guide 53-1003710-03...
Need help?
Do you have a question about the 5600 vRouter and is the answer not in the manual?
Questions and answers