TABLE 12 Creating the zone policies
Step
Command
Create a zone named private and attach interfaces to it.
vyatta@R1# set security zone-policy zone private
description PRIVATE
vyatta@R1# set security zone-policy zone private
interface dp0p1p1
vyatta@R1# set security zone-policy zone private
interface dp0p1p2
Create a zone named dmz and attach an interface to it.
vyatta@R1# set security zone-policy zone dmz
description DMZ
vyatta@R1# set security zone-policy zone dmz
interface dp0p1p3
Create a zone named public and attach an interface to it.
vyatta@R1# set security zone-policy zone public
description PUBLIC
vyatta@R1# set security zone-policy zone public
interface dp0p1p4
Create rule sets named to_private , to_dmz , and to_public .
vyatta@R1# set security firewall name to_private
rule 1 action accept
vyatta@R1# set security firewall name to_dmz rule
1 action accept
vyatta@R1# set security firewall name to_public
rule 1 action accept
Attach the rule sets to each zone.
vyatta@R1# set security zone-policy zone private
to dmz firewall to_dmz
vyatta@R1# set security zone-policy zone private
to public firewall to_public
vyatta@R1# set security zone-policy zone dmz to
private firewall to_private
vyatta@R1# set security zone-policy zone dmz to
public firewall to_public
vyatta@R1# set security zone-policy zone public to
dmz firewall to_dmz
vyatta@R1# set security zone-policy zone public to
private firewall to_private
Commit the changes.
vyatta@R1# commit
NOTE
Before committing changes to a zone, firewall requires that you should have an interface and a rule set attached to the zone.
The following example shows how to view the configuration.
vyatta@R1# show security zone-policy
zone dmz {
description DMZ
interface dp0p1p3
to private {
Configuration Examples
Brocade 5600 vRouter Firewall Configuration Guide
32
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 ...