TABLE 6 Excluding an address (continued)
Step
Command
Show the configuration.
vyatta@R1# show security firewall
name NEGATED-EXAMPLE {
rule 10 {
action accept
description "Allow all traffic from LAN
except to server 192.168.1.100"
destination {
address !192.168.1.100
}
source {
address 172.16.1.0/24
}
}
}
vyatta@R1# show interfaces dataplane dp0p1p1
address 172.16.1.1/24
firewall {
in NEGATED-EXAMPLE
}
Matching TCP flags
The vRouter supports filtering on the TCP flags within TCP packets. For example, to create a rule to accept packets with the SYN flag
set and the ACK, FIN, and RST flags unset, perform the following steps in configuration mode.
TABLE 7 Accepting packets with specific TCP flags set
Step
Command
Set the protocol to match to TCP.
vyatta@R1# set security firewall name TCP-FLAGS
rule 30 protocol tcp
Set the TCP flags to match.
vyatta@R1# set security firewall name TCP-FLAGS
rule 30 tcp flags SYN,!ACK,!FIN,!RST
Set the action to accept.
vyatta@R1# set security firewall name TCP-FLAGS
rule 30 action accept
Commit the configuration.
vyatta@R1# commit
Show the configuration.
vyatta@R1# show security firewall name TCP-FLAGS
rule 30 {
action accept
protocol tcp
tcp {
flags SYN,!ACK,!FIN,!RST
}
}
vyatta@R1#
Configuration Examples
Brocade 5600 vRouter Firewall Configuration Guide
53-1004253-01
27
Содержание 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 ...